HTML language plugin for the Monaco Editor. It provides the following features when editing HTML files:
- Code completion
- Formatting
- Document Highlights
- Link detection
- Syntax highlighting
Internally the HTML plugin uses the vscode-html-languageservice node module, providing the implementation of the functionally listed above. The same module is also used in Visual Studio Code to power the HTML editing experience.
Please file issues concering monaco-html
in the monaco-editor
repository.
This npm module is bundled and distributed in the monaco-editor npm module.
git clone https://github.com/Microsoft/monaco-html
cd monaco-html
npm install .
npm run watch
- open
$/monaco-html/test/index.html
in your favorite browser.