Atom package that folds and unfolds markdown headings
MIT License
NOTE: This package has been retired. It is no longer available through the Atom package manager. It no longer works right on recent releases of Atom.
Atom package that folds and unfolds markdown headings and fenced code blocks.
Note that the headings must use the hash signs. That is, underlining with equal signs does not work. There must also be some whitespace between the hash sign and the heading text. Examples that DO work:
# My First Heading
## My Second Heading
Commands:
Suggested bindings (not implemented, use in your personal settings if you like):
'atom-text-editor[data-grammar="source gfm"]:not([mini])':
'tab': 'markdown-folder:dwim-toggle'
'alt-c': 'markdown-folder:cycle'
'ctrl-alt-c': 'markdown-folder:cycleall'
'alt-x': 'markdown-folder:togglefenced'
'ctrl-alt-x': 'markdown-folder:toggleallfenced'
'alt-t': 'markdown-folder:toggle'
'ctrl-alt-1': 'markdown-folder:foldall-h1'
'ctrl-alt-2': 'markdown-folder:foldall-h2'
'ctrl-alt-3': 'markdown-folder:foldall-h3'
'ctrl-alt-4': 'markdown-folder:foldall-h4'
'ctrl-alt-5': 'markdown-folder:foldall-h5'
Here is an example of an mdpad markdown file with headings and many fenced code blocks.