gapmiss1k downloadsCode file editor with syntax highlighting and code folding.
Edit code files in your Obsidian vault with syntax highlighting, code folding, search and replace, and autocompletion. Built on CodeMirror 6.
| Editor and create file dialog | Settings |
|---|---|
![]() |
![]() |
[!NOTE] Requires Obsidian 1.13.0 or later.
app.ts and app.js are easy to tell apartNew here? Read the user guide. It covers every feature, setting, and shortcut.
Or install it from community.obsidian.md.
main.js, manifest.json, and styles.css from the latest release..obsidian/plugins/cm-code-editor inside your vault.Files with these extensions open in the code editor right away:
c cpp css go html java js json lua php py rb rs sh sql toml ts xml yaml
To add more, edit File extensions in the plugin settings, then turn the plugin off and on again. The user guide lists every extension with highlighting.
See CONTRIBUTING.md.