Markdown plugin for Sublime Text. Provides a decent Markdown color scheme (light and dark) with more robust syntax highlighting and useful Markdown editing features for Sublime Text. 3 flavors are supported: Standard Markdown, GitHub flavored Markdown, MultiMarkdown.
()pair for a link
#, so you will know they belong to markdown files at a glance. Also they will be on top of the list because of the presedence of
#when there's a selection will surround it with
#to make it a headline. Multiple presses add additional hashes, increasing the level of the header. Once you hit 6 hashes, it will reset to 0 on the next press. The
match_header_hasheswill determine if the
#are mirrored on both sides or just at the beginning of the line.
match_header_hashesoption in your settings to disable.
Keymap for Windows and Linux. Most of them are similar with the keymap on Mac OS X.
Underscores in words doesn't mess with bold or italic style:
Fenced code blocks gets syntax highlighting inside:
Keyboard shortcuts gets highlighted like in GitHub:
Strikethrough is supported:
Note: Sublime text has a native tiny package for Markdown. However, when MarkdownEditing is enabled, native package causes some conflicts. For this reason, MarkdownEditing will automatically disable it. Since it doesn't bring anything new over MarkdownEditing, this is not a loss. But remember, when you disable MarkdownEditing, you have to reenable the native one manually (if you want).
The preferred method of installation is via Sublime Package Control.
install packageand hit Return. A list of available packages will be displayed.
MarkdownEditingand hit Return. The package will be downloaded to the appropriate directory.
MarkdownEditingin the Sublime Text 2 Packages directory for your platform:
git clone https://github.com/SublimeText-Markdown/MarkdownEditing.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/MarkdownEditing
git clone https://github.com/SublimeText-Markdown/MarkdownEditing.git %APPDATA%\Sublime/ Text/ 2/\MarkdownEditing
git clone https://github.com/SublimeText-Markdown/MarkdownEditing.git ~/.Sublime\ Text\ 2/Packages/MarkdownEditing
The plugin contains 3 different Markdown flavors: Standard Markdown, GitHub flavored Markdown, MultiMarkdown. Default is GitHub flavored Markdown. If you want to set another one as default, open a Markdown file and select your flavor from the menu:
View > Syntax > Open all with current extension as. You're done.
You may want to have a look at the default settings files. They are located at:
Packages/MarkdownEditing/Markdown.sublime-settings [GitHub flavored Markdown] Packages/MarkdownEditing/Markdown (Standard).sublime-settings Packages/MarkdownEditing/MultiMarkdown.sublime-settings
Bold and italic markers are configurable through ST shell variables. You can use
Preferences > Package Settings > Markdown Editing menu to see the default settings file. In order to override it, copy & paste its content into the user settings file (
Bold and Italic Markers.tmPreferences) from the menu and make your edits. It is pretty straightforward.
In order to activate the dark or the yellow theme, put one of these lines to your user settings file of the flavor:
"color_scheme": "Packages/MarkdownEditing/MarkdownEditor-Dark.tmTheme", "color_scheme": "Packages/MarkdownEditing/MarkdownEditor-Yellow.tmTheme",
If you want to go with your already existing theme, you can reenable it with the same method as dark theme. Keep in mind that, that theme may not cover all the parts of the Markdown syntax that this plugin defines.
Sublime Text has a Distraction Free mode which is great with Markdown writing. Key binding for it: Shift F11.
If you work with Markdown tables too often, you may want to have a look at another plugin named TableEditor. It brings huge improvements for table editing. Several table formats are supported.
There is a plugin named Typewriter which provides a typewriter like writing environment. Excerpt from its homepage:
Typewriter Typing disables your cursor keys and all bindings that move the cursor and/or select text, leaving you only with letters, numbers, symbols, Backspace, Delete and Enter.
Markdown files usually contains URLs. If you want to open URLs under the cursor with a keybinding, you may want to install OpenUrl plugin. It will work on other file types, too.
Knockdown offers useful Markdown features and a custom Markdown theme. All of its unique features except its theme are ported to MarkdownEditing and some of them are actually improved further in MarkdownEditing.
This plugin contains portions of code from Knockdown. MarkdownEditing was originally created by Brett Terpstra and has become a community project with the goal of consolidating the best features from the varied collection of Markdown packages for Sublime Text. Current development is headed up by Ali Ayas.
MarkdownEditing is released under the MIT License.