Skip to content

Instantly share code, notes, and snippets.

@zachharkey
Created November 27, 2012 05:18
Show Gist options
  • Save zachharkey/4152520 to your computer and use it in GitHub Desktop.
Save zachharkey/4152520 to your computer and use it in GitHub Desktop.
Sublime Text 2 Syntax Specific — User Settings for Markdown
// Install Packages: MarkdownEditing, and SmartMarkdown
{
// Which file extensions go with this file type?
"extensions":
[
"md",
"mdown",
"mdwn",
"mmd",
"txt"
],
// Set to true to removing trailing white space on save
"trim_trailing_white_space_on_save": false,
// Note that the font_face and font_size are overriden in the platform
// specific settings file, for example, "Preferences (Linux).sublime-settings".
// Because of this, setting them here will have no effect: you must set them
// in your User File Preferences.
"font_face": "Consolas",
"font_size": 13,
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Sets the colors used within the text area
"color_scheme": "Packages/MarkdownEditing/MarkdownEditor.tmTheme",
// "color_scheme": "Packages/MarkdownEditing/MarkdownEditor-Focus.tmTheme",
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// Disables horizontal scrolling if enabled.
// May be set to true, false, or "auto", where it will be disabled for
// source code, and otherwise enabled.
"word_wrap": true,
// Set to a value other than 0 to force wrapping at that column rather than the
// window width
"wrap_width": 0,
// "wrap_width": 70,
// Draws text centered in the window rather than left aligned
"draw_centered": false,
// Controls auto pairing of quotes, brackets etc
"auto_match_enabled": true,
// Additional spacing at the top of each line, in pixels
"line_padding_top": 0,
// Additional spacing at the bottom of each line, in pixels
"line_padding_bottom": 0,
// Valid values are "smooth", "phase", "blink", "wide" and "solid".
"caret_style": "wide",
// If enabled, will highlight any line with a caret
"highlight_line": true,
// Makes tabs with modified files more visible
"highlight_modified_tabs": true,
// Set to true to removing trailing white space on save
"trim_trailing_white_space_on_save": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment