Repository navigation
Releases
Releases · SWHL/obsidian-code-fence-completer
Release v1.1.1
Full Changelog: 1.1.0...1.1.1
Release v1.1.0
New features
- Added built-in language aliases:
py→pythonjs→javascriptts→typescriptsh→bashmd→markdownyml→yamlcs→csharp
- Added custom aliases using
alias=languagemappings in plugin settings. - Added weighted search with exact, prefix, substring, and fuzzy matching.
- Added recently used language tracking and ranking.
- Added the Change code block language command.
- Added support for clearing a code block’s language and info string.
- Added conflict detection for Codeblock Completer and the previous Code Language Completer plugin.
Improvements
- Language changes preserve additional info-string attributes such as
title=demo. - Alias matches insert the canonical language identifier.
- Recent-language data is migrated automatically from previous settings.
- Language and closing-fence insertion now use a single editor transaction for improved reliability.
- Settings data is validated before use to prevent invalid saved values from breaking suggestions.
Testing
- Expanded the test suite to 23 cases.
- Verified TypeScript compilation, ESLint, production builds, version metadata, and release tag consistency.
Upgrade note
Only one code-block language suggestion plugin should be enabled at a time. Disable or remove Codeblock Completer and the previous Code Language Completer plugin to avoid duplicate or conflicting suggestions.