如何在IntelliJ IDEA中更改Markdown预览字体大小? [英] How do you change the Markdown preview font size in IntelliJ IDEA?

查看:534
本文介绍了如何在IntelliJ IDEA中更改Markdown预览字体大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在IntelliJ IDEA 2017.1中更改Markdown预览字体大小?默认字体大小太小,没有用.

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

我尝试更改:

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预览窗口字体的技巧.

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

我也使用

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

即使那样也不会改变字体大小.

And even that doesn't change the font size.

我正在使用

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

推荐答案

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

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

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

相关请求,您可以投票以使其更容易更改:

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

  • RUBY-19148 Markdown呈现窗口不支持增加/减小鼠标滚轮字体大小
  • RUBY-19148 Markdown rendering window does not support mouse wheel font size increase/decrease

这篇关于如何在IntelliJ IDEA中更改Markdown预览字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆