instant-markdown-d icon indicating copy to clipboard operation
instant-markdown-d copied to clipboard

How to change the font when preview?

Open junjiemars opened this issue 9 years ago • 2 comments

There are any way to change the font when preview?

Any helps, thanks.

junjiemars avatar Jun 02 '16 06:06 junjiemars

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.

JobLeonard avatar Oct 16 '16 11:10 JobLeonard

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

Kevin-Mok avatar Aug 17 '19 14:08 Kevin-Mok