> [!note] > This plugin was created entirely with AI tools
npm install joplin-plugin-codeblock-autocomplete> [!note]
> This plugin was created entirely with AI tools
Provides auto-complete when creating fenced code blocks.
Codemirror 6 only, legacy editor is not supported.
Typing an opening fence (three+ backticks or three+ tildes) will trigger the auto-complete list. 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 (enter more than three fence characters will close the block with the same number of fence characters as the opening block).
Autocomplete languages - Comma-separated list of language identifiers to show in the autocomplete menu.