Code block from selection

by Dmitry Savosh
Score: 32/100
favorite
share
Description
Category: Coding & Technical Tools

The Code block from selection plugin simplifies the creation of code blocks in Obsidian by turning selected text into a formatted code block with a single command. Users can configure the plugin to specify their preferred programming languages and assign hotkeys for each language, enabling quick and efficient formatting. It works seamlessly by adding the necessary syntax before and after the selected text, making it ideal for organizing and formatting code snippets within notes.

Stats
34
stars
10,862
downloads
1
forks
1,494
days
1,173
days
1,322
days
3
total PRs
0
open PRs
0
closed PRs
3
merged PRs
3
total issues
3
open issues
0
closed issues
0
commits
Latest Version
4 years ago
Changelog

Now can add as many languages as you want

README file from
Similar Plugins
info
• Similar plugins are suggested based on the common tags between the plugins.
Wrap with shortcuts
3 years ago by Manic Chuang
Wrap selected text in custom tags with shortcuts.
ObsidianTweaks
3 years ago by Jeppe Klitgaard
A plugin that implements a number of tweaks that should've been native to Obsidian.
Code Block Labels
3 years ago by Sean Bowers
Provides labels for codeblocks in Obsidian
Execute Code
3 years ago by twibiral
Obsidian Plugin to execute code in a note.
Code Block
3 years ago by Patrik Lindefors
Embed Code File
3 years ago by Abdullah Almariah
Blockquote Levels
3 years ago by Carlo Zottmann
A plugin for Obsidian (https://obsidian.md) that adds commands for increasing/decreasing the blockquote level of the current line or selection(s).
Ordered List Style
2 years ago by erykwalder
Writing
2 years ago by johackim
Write and format your next book directly from Obsidian
Toggle Case
2 years ago by automattech
Obsidian plugin to toggle between `lowercase` `UPPERCASE` and `Title Case`
Heading Level Indent
2 years ago by svonjoi
obsidian plugin for hierarchical structuration of document content based on heading levels
Callout Integrator
2 years ago by
A plugin for Obsidian to allow the integration of long blocks of text into callouts.
LaTeX to unicode converter
2 years ago by fjdu
Convert LaTeX commands into unicode sequences
Code Files
2 years ago by Lukas Bach
Plugin for ObsidianMD to show and edit code files along other notes.
Any Block
2 years ago by LincZero
A Obsidian Plugin. You can flexibility to create a 'Block' by some means. It also provides some useful features, like `list to table`.
Interlinear Glossing
2 years ago by Mijyuoon
An Obsidian plugin for interlinear glosses used in linguistics texts.
Recipe Grabber
2 years ago by seethroughdev
SupSub
2 years ago by Wjgoarxiv
::SupSub enables wrapping selected text with `<sup>` or `<sub>` tags::
Code::Stats
2 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.
Change Case
2 years ago by David Brockman
Plugin to let you change the case (camelCase, snake_case, etc) of the current selection.
Text Conversions
2 years ago by Juan D Frias
Text conversions for Obsidian
VSCode Editor
2 years ago by Sun Xvming
Edit Code Files like VSCode in Obsidian.
Are.na unofficial
a year ago by 0xroko
Unofficial Are.na plugin for Obsidian
Formatto
a year ago by Deca
Simple, fast, and easy-to-use Obsidian Markdown formatter.
Auto-\displaystyle Inline Math
a year ago by Ryota Ushio
An Obsidian.md plugin to automatically make all inline maths \displaystyle.
Autocorrect Formatter
a year ago by b-yp
A plugin running on Obsidian that utilizes autocorrect to format Markdown content.
Image Helper
a year ago by Chongmyung Park
Context menu to convert a image to another format in reading view in Obsidian.md
Alt-Click to Copy
a year ago by Veer Sheth
Better Order List
a year ago by Boninall
Shiki Highlighter
a year ago by Moritz Jung
Bitcoin Block Stamp
a year ago by sefiro
Stamp your Obsidian notes with the current Bitcoin block.
ruby.wasm
a year ago by geeknees
heti
a year ago by Moeyua
Svelte Syntax Highlighter
10 months ago by Typhoon-Kim
This plugin adds Svelte syntax highlighting to Obsidian.
Remove Newlines
9 months ago by Elias Jaffe
A plugin for Obsidian.md which removes newlines and blank lines from selected or pasted text.
Heading Toggler
9 months ago by Lord Turmoil
Toggle heading levels in Obsidian
Inline spoilers
8 months ago by logonoff
Adds Discord-like syntax for inline spoilers.
Advanced Tables
4 years ago by Tony Grosinger
Improved table navigation, formatting, and manipulation in Obsidian.md
Markdown Formatting Assistant
4 years ago by Reocin
This Plugin provides a simple WYSIWYG Editor for Markdown and in addition a command line interface. The command line interface facilitate a faster workflow.
Format Hotkeys
4 years ago by Ansel Santosa
Google Docs style formatting hotkeys for Obsidian
Admonition
4 years ago by Jeremy Valentine
Adds admonition block-styled content to Obsidian.md
Table Extended
4 years ago by AidenLx
Extend basic table in Obsidian with MultiMarkdown table syntax
Auto pair chinese symbol
4 years ago by renmu123
中文符号自动补齐
Smart Typography
4 years ago by mgmeyers
Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses
Paste Mode
4 years ago by Jacob Levernier
Obsidian Notes plugin for pasting text and blockquotes to the cursor's current level of indentation.
cMenu
4 years ago by Chetachi
An Obsidian.md plugin that adds a minimal text editor modal for a smoother writing/editing experience ✍🏽.
Multi-line Formatting
4 years ago by nmady
Format Obsidian text over an entire selection, even if that selection has paragraph breaks in the middle!
Link Headers Directly
3 years ago by Signynt
When a header is linked, preview mode will show only the header, and not the note name
Stenography
3 years ago by bramses
Code Language Completer
7 months ago by Stanley Wang
minimal Obisdian plugin, fine-tuned to speed up developer note-taking
Remove Unused Block IDs
7 months ago by Daniel Geneta
A simple plugin that removes unused block IDs for Obsidian.md
Callout Toggles
5 months ago by Aly Thobani
An Obsidian plugin to quickly add, change, or remove callout wrappers in your notes.
复制图文 (Copy Image Text)
5 months ago by msgk
obsidian插件,复制笔记内容(包括文本和图片)到剪贴板
Simple Code Formatter
5 months ago by SY
Format current code block in obsidian.
Jisage -Japanese Indentation-
5 months ago by Telehakke
Obsidian plugin.
Bottom to Top
5 months ago by Henry Gustafson
Snippetsaurus
5 months ago by Christian Humbert
Discord Timestamps
4 months ago by Erika Gozar
Displays discord timestamps in read mode as they would appear in Discord.
Image Size
2 months ago by Jie Zhang
Set the default size for pasted images.
Extended Markdown Syntax
2 months ago by Kotaindah55
Extend your Markdown syntax using delimiters instead of HTML tags, such as underlining, superscript, subscript, highlighting, and spoiler.
Chat clips
a month ago by sleepingraven
Record chat in ordinary markdown list.
Note Placeholder
a month ago by XZSt4nce
Replaces text of note link to placeholder in view mode.
Inline Code Copy
a month ago by Hongchen Lin
Canvas Format Brush
20 days ago by wenlzhang
An Obsidian plugin that allows you to copy and paste formatting attributes (size and color) between canvas elements, similar to the format painter in Word.