Code Block

by Patrik Lindefors
5
4
3
2
1
Score: 60/100

Description

Category: Coding & Technical Tools

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.

Reviews

No reviews yet.

Stats

38
stars
14,174
downloads
2
forks
1,417
days
700
days
700
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
10
commits

Latest Version

2 years ago

Changelog

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

README file from

Github

Code Block Plugin

This plugin converts selected text or pasted text into a code block with automatic programming language detection. The languages that is detectable can be selected in the plugin settings. The language detection is provided by highlight.js and is in no means perfect, but it works most of the time. If it guesses wrong, remove that language from the list and try again.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Execute Code
4 years ago by twibiral
Obsidian Plugin to execute code in a note.
Any Block
3 years ago by LincZero
You can flexibility to create a 'Block' by many means. It also provides many useful features, like `list to table`. (obsidian/markdown-it/vuepress plugin/app)
VSCode Editor
3 years ago by Sun Xvming
Edit Code Files like VSCode in Obsidian.
Shiki Highlighter
2 years ago by Moritz Jung
An Obsidian plugin that offers better code highlighting via shiki and Expressive Code.
Code Files
3 years ago by Lukas Bach
Plugin for ObsidianMD to show and edit code files along other notes.
Code block from selection
5 years ago by Dmitry Savosh
Obsidian plugin. Adds code block for the selected text.
Embed Code File
4 years ago by Abdullah Almariah
Code Block Labels
4 years ago by Sean Bowers
Provides labels for codeblocks in Obsidian
Stenography
5 years ago by bramses
Code::Stats
3 years ago by MiskaMyasa
The Code::Stats plugin allows you to track your coding progress and earn XP for writing markdown in the Obsidian editor.
Simple Code Formatter
2 years ago by SY
Format current code block in obsidian.
Alt-Click to Copy
2 years ago by Veer Sheth
Are.na unofficial
2 years ago by 0xroko
Unofficial Are.na plugin for Obsidian
Code Language Completer
2 years ago by Stanley Wang
minimal Obisdian plugin, fine-tuned to speed up developer note-taking
Svelte Syntax Highlighter
2 years ago by Typhoon-Kim
This plugin adds Svelte syntax highlighting to Obsidian.
Snippetsaurus
a year ago by Christian Humbert
Inline Code Copy
a year ago by Hongchen Lin
Bitcoin Block Stamp
2 years ago by sefiro
Stamp your Obsidian notes with the current Bitcoin block.
Remove Unused Block IDs
2 years ago by Daniel Geneta
A simple plugin that removes unused block IDs for Obsidian.md
ruby.wasm
2 years ago by geeknees
Obsidian RubyWasm Plugin