Last active
April 7, 2021 00:00
-
-
Save Vaduz/229922da122f6b7166ea3087bf282f14 to your computer and use it in GitHub Desktop.
IntelliJ IDEA Markdown Plugin Custom CSS for preview
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; | |
font-size: 85%; | |
} |
Hmm, this css is still working for me without writing !important
or font-family
.
But I changed markdown preview plugin to "Markdown Navigator" which is more customizable and better syntax highlight though.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to write
to set a new font-size.
I couldn't set the font-size to a smaller size. Amongst the things I've tried was this Gist. Now that I have found the solution from Stackoverflow - How do you change the Markdown preview font size in IntelliJ IDEA? I thought you (and maybe some future visitors) might be interested.
CU :)