How can I change the font size of Markdown preview in IntelliJ IDEA?

How do I change the font size of the Markdown preview in IntelliJ IDEA 2017.1? The default font size is so small that it's useless.

I tried to change:

Preferences > Editor > Colors and Fonts > Font > Primary font
Preferences > Editor > Colors and Fonts > Font > Secondary font
Preferences > Editor > Colors and Fonts > Markdown
  (this doesn't have any font or size options)
⌘->scroll wheel

      

I can change the font size in the editor windows, but I haven't found a trick for changing the font of the Markdown preview window.

I also use

Preferences > Appearance & Behavior > Appearance > Override default fonts by

      

And even that doesn't change the font size.

I use

IntelliJ IDEA 2017.1
Build #IC-171.3780.95, built on March 20, 2017
JRE: 1.8.0_112-release-736-b13 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.3

      

+3


source to share


2 answers


Currently, the font size for previews can only be changed via custom CSS .

body {
    font-size: 80% !important;
}

      

css



Related query you can vote on to make it easier to change:

  • RUBY-19148 Markdown renderer does not support mouse wheel up / down size
+7


source


File> Preferences> Search "Preview"> "Page Scale" (allows values ​​from 0.1 to 10). If you set it to about 1.5, it works well. Use decimal places to get the best results possible.



0


source







All Articles