This is a port of Markdown extension for VS Code to Monaco web editor.
The initial plugin is based on the VS Code API, while this one uses only Monaco editor API. The logic and the functionality is pretty much the same (minus completion for local files paths and rendering, plus some bug-fixes)
To launch the demo web page, execute gulp dist
(see package.json fro details)
and then open demo\index.html
.
- Toggle bold/italic/strikethrough/math actions
- Headings up/down actions
- Toggle list
- Lists auto-numbering on enter
- List items indent/dedent on tab/shift-tab
- Suggestions for LaTeX, header references, and link labels
- Formatting for tables
There is an npm package for the library: https://www.npmjs.com/package/monaco-markdown