使用 Sublime Text 3 编辑 Markdown、浏览器实时预览
Sublime Text 3
Preferences --> Settings
File Path: C:\Users\wuyong\AppData\Roaming\Sublime Text 3\Packages\User\Preferences.sublime-settings
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
"translate_tabs_to_spaces": true,
"highlight_line": true,
"ensure_newline_at_eof_on_save": true,
"save_on_focus_lost": true,
"ignored_packages":
[
"Vintage"
]
}
Preferences --> Keybindings
File Path: C:\Users\wuyong\AppData\Roaming\Sublime Text 3\Packages\User\Default (Windows).sublime-keymap
[
{ "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} },
]
Package Control
Package Control is the Sublime Text package manager. It includes a list of over 2,500 packages available for install, and users can add any GitHub or BitBucket repository themselves. Once installed, packages are kept up-to-date automatically.
https://packagecontrol.io/installation
MarkdownPreview
Preview and build your markdown files quickly in your web browser using Sublime Text 3.
You can use the builtin Python Markdown parser (offline) or use the GitHub Markdown API or GitLab Markdown API (online) for the conversion.
https://packagecontrol.io/packages/MarkdownPreview
https://facelessuser.github.io/MarkdownPreview/
File Path: C:\Users\wuyong\AppData\Roaming\Sublime Text 3\Packages\User\MarkdownPreview.sublime-settings
{
"pygments_style": "vs"
}
LiveReload
A web browser page reloading plugin for the Sublime Text 3 editor.
https://packagecontrol.io/packages/LiveReload
File Path: C:\Users\wuyong\AppData\Roaming\Sublime Text 3\Packages\User\LiveReload.sublime-settings
{
"enabled_plugins": ["SimpleReloadPlugin"]
}
Chrome 扩展 LiveReload
http://livereload.com/extensions/
https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei
演示
alt+m
Sublime Text 3 常用插件和主题
https://packagecontrol.io/browse/authors/SublimeText