如何更改IntelliJ IDEA中的Markdown预览字体大小?

时间:2017-03-21 14:53:24

标签: intellij-idea fonts markdown

如何更改IntelliJ IDEA 2017.1中的Markdown预览字体大小?默认字体大小很小,没用。

我尝试过改变:

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

我可以在编辑器窗口中更改字体大小,但我还没有找到更改Markdown预览窗口字体的技巧。

我也用

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

即使这样也不会改变字体大小。

我正在使用

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

2 个答案:

答案 0 :(得分:11)

目前预览的字体大小只能更改via custom CSS

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

css

您可以投票的相关请求,以便更改:

  • RUBY-19148 Markdown渲染窗口不支持鼠标滚轮字体大小增加/减少

答案 1 :(得分:0)

档案>设置>搜索'预览' >页面缩放(允许值为0.1到10)。如果将其设置为1.5左右,则效果很好。使用小数位来恰到好处。

相关问题