mirror of
https://github.com/stbowers/obsidian-codeblock-labels.git
synced 2026-07-22 06:10:26 +00:00
No description
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| esbuild.config.mjs | ||
| main.ts | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| styles.css | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Obsidian Code Block Labels Plugin
This plugin renders labels for code blocks.
Source preview [image of source] [image of preview]
The plugin can also be optionally configured to show the language as a label, if no explicit label was set
fn main() {
println!("Hello, world");
}
Labels are assigned the "codeblock-label" class, and so can be styled with CSS:
.codeblock-label {
color: magenta;
background: green;
}