instant-markdown-d
instant-markdown-d copied to clipboard
How to change the font when preview?
There are any way to change the font when preview?
Any helps, thanks.
It would be nice if we could just edit the CSS of the MD output somewhere in a straightforward manner, without worrying about interfering with the installation. I like my on-screen markdown with light text on a dark background, for example.
Yeah, there seems to be a dark theme, but I'm not sure how to get that working.
Edit: npm i -g doesn't seem to use the local CSS folder, so what I did was merge the dark theme lines to the normal CSS files and then manually copy them over as root to the installation location (/lib/node_modules/instant-markdown-d). Pretty hacky, but it works.
https://github.com/Kevin-Mok/instant-markdown-d/commit/869e220f009042dd6a2124311214bf4efd1cb608