emmet plugin for monaco editor
only support HTML, compatible with monaco-editor v0.12.0 and above
Source codes are well commented if you want to figure out how it works
only support ES modules
- run
npm install @emmetio/expand-abbreviationto add dependencies - download
monaco-emmet.jsfrom this repository - import
monaco-emmmet.jsin your code asemmetHTML emmetHTML(editor)to enable emmet,editoris your monaco-editor instance