iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.36k stars 268 forks source link

Change font? #626

Open mars0i opened 6 months ago

mars0i commented 6 months ago

My apologies if I have just missed the answer to this question. Is it possible to change the font family/typeface used to display files? Since I didn't see anything about it in the README, I thought that maybe this was something I could set in the browser. I tried changing the san serif font in Firefox, but it seemed to have no effect, even after restarting the browser. It looks like this choice may be hardcoded in app/_static/page.css, from commit https://github.com/iamcco/markdown-preview.nvim/commit/d7f95e849497066d9bbbcee87a0a0c7a10da4567 .

I assume that what I'm seeing is a Helvetica Neue or Helvetica typefacer. The reason I care at the moment is that I'm finding that the italic font doesn't stand out as much as I'd like when I'm writing.

Thanks. MarkdownPreview is great, by the way. I love it.

kunring commented 4 months ago

The config section in README mentions an option to use a custom CSS file