Code Blocks commands

by dragonish
5
4
3
2
1
Score: 51/100

Description

Category: Coding & Technical Tools

The Code Blocks commands plugin streamlines inserting and managing code blocks by providing dedicated commands and a quick backtick-triggered menu. Instead of manually typing markup, you can pick from a list of supported languages, which the plugin sorts based on your usage patterns. It also supports custom syntax highlighting, letting you define new markups along with optional language names or titles for better retrieval. This reduces friction when documenting snippets, writing technical notes, or sharing examples. With intuitive keyboard interaction and personalized markup lists, it makes handling multi-language code snippets inside your vault faster and more consistent, especially for users who frequently switch between languages or need clear highlighting.

Reviews

No reviews yet.

Stats

1
stars
434
downloads
0
forks
295
days
325
days
355
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

a year ago

Changelog

Features

  • setting: support for manage markup counts
  • support for markup title and alias label

Bug Fixes

  • setting: fix custom language not immediately appearing in the list

README file from

Github

Code Blocks commands

English | 简体中文 | 繁體中文

Introduction

This is a plugin for Obsidian. Provide commands to insert code blocks with markup, and support triggering commands with backticks.

Features

Insert code blocks with markup

You can insert code blocks with markup using the command:

list-languages

Triggering commands with backticks

You can trigger the markup selection menu by using backticks:

trigger-suggestions

Other features

  • The plugin will sort the markup list based on usage habits.
  • Allow custom syntax highlighting markups. For each language:
    • Markup: Required, the markup of the language.
    • Language name: Optional, the name of the language.
    • Markup title: Optional, for markup that is not derived from the language name, a related title can be provided for easy retrieval.

Credits

License

MIT license

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
ABC Music Notation
6 years ago by Til Blechschmidt
Plugin which renders music notations from code blocks
Ace Code Editor
a year ago by RavenHogWarts
An enhanced code editor using Ace editor
Advanced Codeblock
4 years ago by Lijyze
An obsidian plugin that give additional features to code blocks.
Auto pair chinese symbol
5 years ago by renmu123
中文符号自动补齐
Automation
2 years ago by Benature
Backtick text selector
2 years ago by Ram Rachum
Obsidian plugin for selecting text in backticks
Better Command Palette
4 years ago by Alex Bieg
A better command palette for obsidian
Buttons
5 years ago by Sam Morrison
Buttons in Obsidian
Chorded Hotkeys
4 years ago by Trey Connor Meyers
Type multiple letters at the same time to trigger text insertion, template insertion, or command execution.
Code Editor Shortcuts
5 years ago by Tim Hor
Obsidian plugin to add keyboard shortcuts commonly found in code editors such as Visual Studio Code (vscode) or Sublime Text
Code Styler
3 years ago by Mayuran Visakan
A plugin for Obsidian.md for styling codeblocks and inline code
Codeblock Customizer
3 years ago by mugiwara
Codeblock Customizer plugin for Obsidian
CodeBlock Tabs
3 years ago by Jemin Mau
Create tab group for contiguous codeblocks.
Codeblock Template
3 years ago by Super10
A template plugin that allows for the reuse of content within Code Blocks!一个可以把Code Block的内容重复利用模板插件!
Collapsible Code Blocks
a year ago by Bradley Wyatt
Obsidian Plugin that makes code blocks collapsible in reading and edit view as well as enabling scroll-able code blocks.
Command Block List
2 years ago by Ryota Ushio
Hide unwanted commands from the command palette in Obsidian.
Command Line
a year ago by Steven Stallion
Copy command lines from your notes to the clipboard.
Command Tracker
2 years ago by namikaze-40p
An Obsidian plugin that tracks the number of times the command is used.
Commando
3 years ago by qaptoR
Obsidian Plugin for automatically repeating commands with loop iterations
CSV Codeblock
3 years ago by elrindir
Plugin for obsidian to render csv syntax in codeblocks.
Custom Comments
10 months ago by Jack Chronicle
Adds a method to create custom methods to enclose comments
Custom Syntax Highlights
7 months ago by Outsiders17711
Display files with custom extensions as syntax-highlighted code blocks in reading view with configurable extension-to-language mappings.
Embedded Code Title
5 years ago by tadashi-aikawa
It is an Obsidian plugin which can embeds title to code blocks.
Expand Selection
3 months ago by Alex Tait
Expands the editor selection to lines, sections, or the entire note for convenience on mobile.
FastForwardLink
2 years ago by Idan Liberman
FastForwardLink Obsidian.md Plugin
File Include
3 years ago by Till Hoffmann
Footnote Shortcut
5 years ago by Alexis Rondeau, Micha Brugger
Makes creating footnotes in Obsidian more fun!
Format Hotkeys
5 years ago by Ansel Santosa
Google Docs style formatting hotkeys for Obsidian
Ghost Text
10 months ago by lawrencefeng17
Hanko
a year ago by Telehakke
Obsidian plugin.
Harpoon
3 years ago by mask(developermask)
Heading Helper
a year ago by Siddhartha Khuntia
HK Code Block
3 years ago by Heekang Park
Obsidian plugin developed by Heekang Park; Make code block looking good on reading view
Hotkeys for Bookmarks
5 years ago by Vinzent
Hotstrings
a year ago by wakywayne
InlineCodeHighlight
3 years ago by Dimava
Key Promoter
5 years ago by Johannes Theiner
Learn keyboard shortcuts by showing them when using the mouse
Keyboard Analyzer
4 years ago by cogscides
Obsidian plugin to display command hotkeys on a visible keyboard layout
Leader Hotkeys
6 years ago by Tony Grosinger
Use a leader-key (tmux style) for hotkeys in Obsidian.md
Line Commands
2 years ago by charliecm
Adds commands to quickly select, copy, cut, and paste lines under the selection or cursor.
LLM Shortcut
a year ago by Viktor Chernodub
A plugin for Obsidian that provides a way to create shortcuts for commands powered by LLM capabilities.
Magic Move
2 years ago by imfenghuang
Animating Code Blocks in Obsidian
Marjdown shortcuts
4 years ago by Jules Guesnon
🪨 Obsidian plugin that allows to write markdown from commands
Minitabs
3 years ago by ssjy1919
Obsidian tabs
MLIR Syntax Highlight
3 years ago by Lewuathe
Natural Language Syntax Highlighting
3 years ago by artisticat
Highlight adjectives, nouns, adverbs, verbs, and conjunctions in Obsidian.md
Next Link
3 years ago by Juan Luque
Note Codes
10 months ago by Ezhik
Reference your Obsidian notes from anywhere with simple 4-character codes.
Note Toolbar
2 years ago by Chris Gurney
Flexible, context-aware toolbars for your notes in Obsidian.
Numerals
4 years ago by RyanC
An obsidian plugin which turns a math code block into a full featured calculator
Obsidian Columns
4 years ago by Trevor Nichols
Open Plugin Settings
3 years ago by Mara-Li
Create a command that open the settings tabs of a registered plugin (because I was bored to open the parameters).
ProgressBar
3 years ago by Wei Zhang
Code block plugin for Obsidian generating a progress bar
Quick Links
3 years ago by Ian Fisher
Obsidian plugin to create quick link shortcuts
Quick Nav
a year ago by exoticknight
Enhance your editing experience by unleashing the hidden power of shortcuts.
Quickly
3 years ago by Sparsh Yadav
Quick capture to obsidian note
Replace Pencil
a year ago by penyt
🐧 An obsidian plugin that can easily replace the custom variable in the code block.
Rich Text Editor Shortcuts
2 years ago by Joshua Wootonn
Create and toggle checkboxes, paste links wrapping your current selection, and toggle underline without leaving the keyboard.
Script Launcher
4 years ago by Alessandro Ruggiero
An Obsidian plugin that allows you to easily run scripts written in any language directly from the app
Sequence Hotkeys
4 years ago by Ruan Moolman
Obsidian plugin to support a sequenced of keyboard shortcuts to run commands.
Shell commands
5 years ago by Jarkko Linnanvirta
Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
Shiki Highlighter
2 years ago by Moritz Jung
An Obsidian plugin that offers better code highlighting via shiki and Expressive Code.
Shortcuts extender
6 years ago by kitchenrunner
Plugin for Obsidian: Use shortcuts for input special symbols and changing level of headings without language switching
Svelte Syntax Highlighter
2 years ago by Typhoon-Kim
This plugin adds Svelte syntax highlighting to Obsidian.
Text Expander JS
4 years ago by Jonathan Heard
Obsidian plugin: Type text shortcuts that expand into javascript generated text.
Todo.txt Codeblocks
3 years ago by Benjamin Nguyen
Manage your tasks inside Obsidian codeblocks according to the Todo.txt specification.
URI Commands
5 years ago by kzhovn
Execute URIs from the command palette
Vimium
2 years ago by Karsten Finderup Pedersen
Interact with elements using keyboard shortcuts in the spirit of Vim.
Wrap with shortcuts
4 years ago by Manic Chuang
Wrap selected text in custom tags with shortcuts.
YAML Table
a year ago by dainakai