The humble beginnings of a better Markdown editing package for Sublime Text 2 (Currently OS X-only)
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 621 commits behind SublimeText-Markdown:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore theme tweaks for html tags May 17, 2012
Default (OSX).sublime-keymap Updating reference commands to recognize leading spaces, reverting my… Sep 4, 2012
Default.sublime-commands Support for setext-style (underlined) headers Sep 8, 2012
Default.sublime-keymap Support for setext-style (underlined) headers Sep 8, 2012
Markdown.sublime-settings Adding highlight_line to settings to make Focus-mode work by default Jul 2, 2012
MarkdownEditor-Focus.tmTheme Bugfixes, added alt modifier to almost everything to avoid conflicts … Jul 28, 2012
MarkdownEditor.tmTheme Bugfixes, added alt modifier to almost everything to avoid conflicts … Jul 28, 2012
MultiMarkdown.sublime-settings Adding highlight_line to settings to make Focus-mode work by default Jul 2, 2012
Padded Headline.sublime-macro Updating reference commands to recognize leading spaces, reverting my… Sep 4, 2012
README.md readme correction Aug 22, 2012
Remove Empty List Item.sublime-macro Fixing unintentional advancement of caret Aug 31, 2012
Start List Item.sublime-macro Theme fix for MMD Metadata, adding macro for deleting paired item on … May 17, 2012
footnotes.py Removing superfluous logging; removed edge case where GatherMissingFo… Oct 15, 2012
gather_missing_links.py new footnotes plugins Aug 22, 2012
insert_references.py Fix duplicate title detect bug, initial url mangling Sep 5, 2012
jumpToMarker.py fix for leading space regex being too permissive Sep 4, 2012
list_markdown_references.py fix for leading space regex being too permissive Sep 4, 2012
packages.json fix for leading space regex being too permissive Sep 4, 2012
paste_as_link.py incororating patches Jul 31, 2012
paste_as_reference.py incororating patches Jul 31, 2012
underlined_headers.py Support for setext-style (underlined) headers Sep 8, 2012

README.md

MarkdownEditing

Better Markdown Editing features for Sublime Text 2

This package will make MarkdownEditor your default theme for Markdown/MultiMarkdown files. Adjust it to your liking or remove the line from the .sublime-settings files

  • Asterisks and underscores are autopaired and will wrap selected text
  • If you start an empty pair and hit backspace, both elements are deleted
  • If you start an empty pair and hit space, the right element is deleted
  • backticks are paired
  • Left bracket pairing is modified to eliminate the selection and leave the cursor at a point where you can insert a [] or () pair for a link
  • ⌘⌥V will paste the contents of the clipboard as an inline link on selected text
  • ⌘⌥R will paste the contents of the clipboard as a reference link
  • ⌘⌥K inserts a standard inline link, ⌘⇧K inserts an inline image
  • ⌘⌥B and ⌘⌥I are bound to bold and italics (Markdown).
  • Typing "#" when there's a selection will surroung 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.
  • Typing return at the end of a line that begins with hasmarks will insert closing hashmarks on the headline. They're not required for Markdown, it's just aesthetics, and you can comment out that command in the Default (OSX).sublime-keymap file if needed. I'll turn that into a plugin and add an option for it eventually.
  • ⌘⇧6 will insert a footnote and jump to its definition. If your cursor is in a definition, it will jump back to the marker.
  • ⌥⇧F will locate footnote markers without definitions and insert the marker for the definition
  • ⌥⇧G will do the same for missing reference links

Footnote commands submitted by J. Nicholas Geist and originated at geekabouttown

There's a long way to go and I have a lot of Python to learn.