Typora

配置

快捷键

文件 - 偏好设置 - 通用 - 快捷键 - 自定义快捷键,会打开网页

文件 - 偏好设置 - 通用 - 高级设置 - 打开高级设置,会打开%USERPROFILE%\AppData\Roaming\Typora\conf,编辑conf.user.json,也可以直接编辑Typora\resources\conf.default.json

例如导出HTML/PDF,在keyBinding段添加如下内容:

    "HTML": "Ctrl+Shift+H"
    "PDF": "Ctrl+Shift+P"

其他

设置 编辑器 的宽度

文件 --> 编好设置 --> 外观 --> 打开主题文件夹

Typora\resources\style\themes
%Userprofile%\AppData\Roaming\Typora\themes

主题文件有 github.css、newsprint.css、night.css、pixyll.css、whitey.css 共 5 种 。

选择当前你所使用主题的 css文件。我使用的是 github 主题。

打开 github.css ,搜索 #write修改其属性 max-width 的值改为你想要设置的宽度( 比如我设置的是 1060px )。所图所示:

#write {
    max-width: 860px;
      margin: 0 auto;
      padding: 30px;
    padding-bottom: 100px;
}

@media only screen and (min-width: 1400px) {
    #write {
        max-width: 1024px;
    }
}

@media only screen and (min-width: 1800px) {
    #write {
        max-width: 1200px;              这里改成2200px可以生效
    }
}

设置 编辑器的源代码模式 的宽度
编辑 Typora\resources\style\base-control.css
搜索 .CodeMirror-lines,找到 max-width:800px; ,将其值改为 1600

设置 导出HTML左边栏 的宽度
编辑 Typora\resources\style\base.css
搜索 .outline-content,找到 width:300px;,将其值改为 240