Extension only supporting read-only editors which adds code folding to the editor.
To fold XML elements, a TagMatcher needs to be added before.
To fold bracket pairs, a BracketMatcher needs to be added before.
Rest
Callbacks that can add extra foldable ranges.
Very minimal downsides to adding this extension dynamically.
Requires styles from prism-code-editor/code-folding.css
prism-code-editor/code-folding.css
Generated using TypeDoc
Extension only supporting read-only editors which adds code folding to the editor.
To fold XML elements, a TagMatcher needs to be added before.
To fold bracket pairs, a BracketMatcher needs to be added before.