【问题标题】:How do you change the Markdown preview font size in IntelliJ IDEA?如何在 IntelliJ IDEA 中更改 Markdown 预览字体大小?
【发布时间】:2017-08-13 07:47:12
【问题描述】:

如何在 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

【问题讨论】:

    标签: intellij-idea fonts markdown


    【解决方案1】:

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

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

    您可以投票支持相关请求,以便更轻松地进行更改:

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

    【讨论】:

    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 2021-02-01
      • 2022-11-24
      • 1970-01-01
      • 2016-06-20
      • 1970-01-01
      • 1970-01-01
      • 2021-11-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多