Description
Auto-Completes code fences in the markdown editor (with optional dropdown for language auto-complete)
Additional Information
| Links: | |
|---|---|
| Maintainers: | bwat47 |
| Version: | 1.1.0 |
| Minimum app version: | 3.3 |
| Downloads: This version: | 72 |
| Last updated: | 2026-03-23T04:50:14Z |
[!note] This plugin was created entirely with AI tools
Codeblock Autocomplete
Provides auto-complete when creating fenced code blocks.
Codemirror 6 only, legacy editor is not supported.
Usage
Typing an opening fence (three+ backticks or three+ tildes) will trigger the auto-complete list by default. Selecting a language will complete the code block (adding the language and closing fence).
-
Specifying a lanauge that's not in the list (and has no matches) will show "Custom language" and will use the specified language as-is.
-
Supports nested code blocks (when the language dropdown is enabled): enter more than three fence characters will close the block with the same number of fence characters as the opening block.
-
If language auto-complete is disabled, typing exactly three backticks or tildes immediately inserts the closing fence and leaves the cursor at the end of the opening fence so you can type a language or press Enter.
Settings
Enable language auto-complete - Toggle the language dropdown for code fences. When disabled, typing exactly three backticks or tildes inserts a closing fence immediately without opening the dropdown.
Autocomplete languages - Comma-separated list of language identifiers to show in the autocomplete menu.