Skip to content

Code Blocks commands

Provide commands to insert code blocks with markup, and support triggering commands with backticks.

Data

ID code-blocks-commands
Author dragonish
Funding Support the Author
Minimum Obsidian Version 0.15.0
Official Release Date 2025-09-06
Last update 2025-07-07

Last Refresh

Obsidian Stats last refreshed the data behind this page on Jun 15, 2026.

Community plugin snapshot Jun 15, 2026
Repository clone last successful checkout May 25, 2026
Release acquisition release metadata checked Jun 12, 2026; existing successful main.js cache reused

Quick Links

Changes

Date Changed Property Old Value New Value
2025-09-06 Plugin Added

Repository Data

License MIT in package.json
MIT in LICENSE file
Package Manager pnpm
Uses Typescript Yes
Installed Bundlers esbuild
Installed Testing Frameworks None found
Has Test Files No
Latest Release main.js Size 27.4 KB
Detected ES Version ES2018
Probably Minified Yes
main.js API Findings None detected
Uses BRAT beta releases No
Dependencies obsidian-plugin-i18n
Dev Dependencies @codemirror/state, @codemirror/view, @eslint/js, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, builtin-modules, commit-and-tag-version, esbuild, eslint, globals, obsidian, tslib, typescript, typescript-eslint

main.js API Findings

These conservative findings come from static analysis of the latest release main.js. The table includes warnings and high-confidence informational findings; lower-confidence informational findings are omitted to reduce false positives. Warnings indicate usage of potentially risky APIs, but such APIs can be used safely if handled with care.

Finding Type Confidence Evidence
Persists plugin settings or data Info High this.loadData (1), this.saveData (1)
Registers plugin settings UI Info High this.addSettingTab (1), Setting (9), obsidian.Setting (9)
Registers commands, ribbon icons, or status bar items Info High this.addCommand (2), this.addRibbonIcon (1)
Accesses Obsidian workspace APIs Info High app.workspace (1)
Accesses the active file or editor Info High app.workspace.activeEditor (1)

The above data may not be accurate and contain errors. For more information refer to the page about data collection.

Lines of Code

The plugin has a total of 933 lines of code. The following chart shows the lines of code split by programming language.

Downloads

The following chart shows the total number of downloads of the plugin over time. The second chart shows the delta of downloads per week, which is the number of new downloads per week. New version releases are marked with vertical lines.

Version History

Version Release Date Note
1.0.0 2025-07-02 Released while not listed
1.1.0 2025-07-07 Released while not listed

Blacklisted versions are versions that are known to cause major issues or contain security concerns and have thus been blacklisted by the Obsidian team. Obsidian will disable plugins on startup whose installed version is blacklisted. Released while not listed versions happened outside the period where the plugin was present in the community plugin list and are excluded from aggregate release statistics.