/markdown-folding

Atom Package that folds and unfolds markdown sections following the headers

Primary LanguageCoffeeScriptMIT LicenseMIT

markdown-folding package

It folds and unfolds markdown sections following the headers.

This package is inspired by the package markdown-foler, but unfortunately after Atom 1.9.0 that package stop working and I reimplemented some of its functionality.

Commands:

  1. 'markdown-folding:cycle': => Cycle heading at cursor (Collapse all - show headings - show all)
  2. 'markdown-folding:foldall-h1': => Fold all h1 headings

Suggested bindings (not implemented, use in your personal settings if you like):

'atom-text-editor[data-grammar="source gfm"]:not([mini])':
  'tab':        'markdown-folding:cycle'