Code Block
by Patrik Lindefors
favorite
share
31
9,256
Description

The Code Block plugin is a simple yet powerful tool for converting selected text or pasted content into a code block with automatic programming language detection. This feature-rich plugin uses highlight.js to detect the language of the code, making it easy to format and display your code snippets in a clear and readable manner. With this plugin, you can select the languages you want to detect from a list of options, ensuring that your code is accurately identified and displayed with the correct syntax highlighting. Whether you're writing documentation, creating tutorials, or simply sharing code examples, this plugin makes it easy to add professional-looking code blocks to your content.

Latest Version
6 months ago
Changelog

Updated highlight.js to version 11.9.0 plus other minor version bumps.

README file from
Similar Plugins
info
• Similar plugins are suggested based on the common tags between the plugins.
Format code blocks of various languages
3 years ago by iVariable
This plugin introduces commands to format code (internally uses prettier)
AsciiDoc Blocks Plugin
3 years ago by Juracy Filho
A plugin to render asciidoc blocks in Obsidian, initially asciidoc tables.
Execute Code
3 years ago by twibiral
Allows to execute code snippets within a note.
Embed Code File
2 years ago by Abdullah Almariah
Embed code file from vault using code blocks
Code Preview
2 years ago by Hank
CodeBlock preview by file path
Code Emitter
2 years ago by YISH
An obsidian plugin that allows code blocks executed interactively in sandbox like jupyter notebooks. Supported language rust、kotlin、python、Javascript、TypeScript etc.
Code Files
2 years ago by Lukas Bach
Edit Code Files in Obsidian with VSCode's powerful Monaco Editor
Any Block
2 years ago by LincZero
You can flexibility to create a 'Block' by some means. It also provides some useful features, like `list to table`.
HK Code Block
2 years ago by Heekang Park
Obsidian plugin developed by Heekang Park; Make code block looking good on reading view
Pieces for Developers
a year ago by Pieces For Developers
Streamline your coding workflow in Obsidian with the Pieces For Developers plugin, offering powerful features for capturing, managing, translating, and enhancing code snippets. (Closed Source)
Code::Stats
a year ago by MiskaMyasa
The Code::Stats plugin allows you to track your coding progress and earn XP for writing markdown in the Obsidian editor.
Code Styler
a year ago by Mayuran Visakan
Style codeblocks and inline code in reading view and editing view.
InlineCodeHighlight
a year ago by Dimava
Highlight inline `'md **code**` blocks as well as you do the ```md **big**``` ones.
RunJS
a year ago by eoureo
RunJS is a plugin for running JavaScript code in Obsidian (https://obsidian.md).
VSCode Editor
a year ago by Sun Xvming
Edit Code Files like VSCode.
Blockier
a year ago by blorbb
Extra block editing utilities.
Are.na unofficial
a year ago by 0xroko
Allows you to save Are.na blocks as notes.
Shiki Highlighter
8 months ago by Moritz Jung
Highlight code blocks with Shiki.
Bitcoin Block Stamp
8 months ago by sefiro
Stamp your notes with the current Bitcoin block.
ruby.wasm
7 months ago by geeknees
Run ruby code in your notes using WebAssembly.
Interactive Code Blocks
5 months ago by Student Assistenten Team Deeltaken
Preview interactive code blocks!
Blockreffer
3 months ago by tyler.earth
Search and embed blocks with ^block-references.
Snippets Manager
3 months ago by Venkatraman Dhamodaran
Snippets manager with full mobile support. You can manage code snippets, infos like passport number, email signature or anything.
Embedded Code Title
2 months ago by tadashi-aikawa
Embed a title in code blocks.
Copy Block Link
2 months ago by mgmeyers
Get links to blocks and headings from the right-click menu.
Stenography
2 months ago by bramses
Translate code blocks into simple English using Machine Learning with the Stenography API.
Code Language Completer
2 months ago by Stanley Wang
Autosuggests and completes codeblock language options based on history.
Remove Unused Block IDs
2 months ago by Daniel Geneta
Remove unused block ids in your vault.
Simple Code Formatter
25 days ago by SY
Format the code block where the cursor is.
Snippetsaurus
8 days ago by Christian Humbert
Create and managing text and code snippets.