Markdown Preview Enhanced ported to coc.nvim
Markdown Preview Enhanced is an extension that provides you with many useful functionalities such as automatic scroll sync, math typesetting, mermaid, PlantUML, pandoc, PDF export, code chunk, presentation writer, etc. A lot of its ideas are inspired by Markdown Preview Plus and RStudio Markdown.
:CocInstall coc-markdown-preview-enhanced
:CocCommand markdown-preview-enhanced.openPreview
Command | Functionality |
---|---|
markdown-preview-enhanced.openPreview | Open preview |
markdown-preview-enhanced.syncPreview | Sync preview / Sync source |
markdown-preview-enhanced.runCodeChunk | Run code chunk |
markdown-preview-enhanced.runAllCodeChunks | Run all code chunks |
Enable the Run code chunk
feature
Note: Please use this feature with caution because it may put your security at risk! Your machine can get hacked if someone makes you open a markdown with malicious code while script execution is enabled.
{
"markdown-preview-enhanced.enableScriptExecution": true
}
More :CocList --input=markdown-preview-enhanced. commands
Shortcuts | Functionality |
---|---|
esc | Toggle sidebar TOC |
https://github.com/neoclide/coc.nvim/wiki/Using-the-configuration-file
The implementation of this project relies on vscode-markdown-preview-enhanced
and mume
.
University of Illinois/NCSA Open Source License
This extension is built with create-coc-extension