ccurtin / fold-editor-and-preview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fold-editor-and-preview

it adds fold function to markdown editor and preview. you can add fold section wherever you want.

install

ipm install fold-editor-and-preview

Usage

Put the code you want to fold between

<!-- region -->

and

<!-- endregion -->

. if you write start fold name is

<!-- region foo -->

, foo is the label for the disclosure widget in preview.

example

TODO

  • support nested fold
  • customize keyword
  • auto expand

Changelog

  • 0.2.0 - support nested fold
  • 0.1.0 - First release

About

License:MIT License


Languages

Language:JavaScript 98.7%Language:TypeScript 1.0%Language:Less 0.4%