39

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

I've tried changing:

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 editor windows, but I haven't found the trick for changing the Markdown preview window font.

I also use

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

And even that doesn't change the font size.

I'm using

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
1
  • IntelliJ 2022.3.3 seems to match the preview font size with whatever font size is set in the editor (for example, using ⌘+scroll wheel) Commented Mar 16, 2023 at 12:06

4 Answers 4

74

At the moment, font size for the preview can be changed only via custom CSS.

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

css

Related request you can vote for to make it easier to change:

  • RUBY-19148 Markdown rendering window does not support mouse wheel font size increase/decrease
3
2

As of 2.6.2024 (that is d.m.yyyy) you can go to File > Settings > Languages & Frameworks > Markdown > Preview Font Size. [Screenshot of Settings Dialog following the breadcrumbs given above in the description. Preview font size is set to 16, which is highlighted by a red square around the setting.1

0

File > Settings > Search for 'preview' > Page Zoom (allows values from 0.1 to 10). If you set this to around 1.5 it works well. Use the decimal places to get it just right.

0

if u have custom appearance, the markdown font must be changed within color scheme > color scheme font..

Not the answer you're looking for? Browse other questions tagged or ask your own question.