Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Insert Block Below

homura144homura14427 downloads

Insert math blocks and code fences below the current line with list, quote, and callout aware indentation.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Insert math blocks and code fences below the current line in Obsidian, while preserving quote, callout, and list-aware indentation.

GitHub repository: homura144/obsidian-insert-block-below

Features

  • Command palette commands:
    • Insert math block below
    • Insert code block below
  • Preserves indentation for:
    • blockquotes
    • callouts
    • unordered lists
    • ordered lists with 1. and 1)
  • Auto trigger while typing:
    • $$$ expands into a $$ block below
    • ``` expands into a code block below
  • Optional two-line code block mode so the cursor lands at the end of the opening ``` for immediate language input

Settings

  • Code block without blank line
    • Insert a two-line code block and place the cursor at the end of the opening ```.
  • Auto trigger when typing ```
    • Type ``` at the end of a line to expand into a code block below.
  • Auto trigger when typing $$$
    • Type $$$ at the end of a line to expand into a $$ block below.

Trigger Rules

  • Auto triggers only fire during real-time typing in the editor.
  • The trigger sequence must be at the end of the current line, e.g.- some text$$$
  • Text before the trigger sequence is preserved.
  • Auto triggers do not fire inside existing fenced code blocks.
  • Empty special cases are supported:
    • | + ` -> code block below
    • $$|$ + $ -> math block below

Installation

Before this plugin is accepted into the community store, install it manually:

  1. Download main.js and manifest.json from the latest GitHub release.
  2. Create .obsidian/plugins/obsidian-insert-block-below/ in your vault.
  3. Copy the release files into that folder.
  4. Reload Obsidian and enable Insert Block Below in community plugins.

After store acceptance, install it from the Obsidian community plugins browser.

Install With BRAT

You can also install the plugin with BRAT before it is available in the community store.

  1. Install and enable the Obsidian42 - BRAT plugin.
  2. Open the BRAT command BRAT: Add a beta plugin for testing.
  3. Paste the repository URL:
https://github.com/homura144/obsidian-insert-block-below
  1. Confirm the plugin entry and let BRAT download the latest release.
  2. Enable Insert Block Below in community plugins if it is not enabled automatically.

BRAT installs from the GitHub repository, so the repository and release assets must exist first.

Development

npm install
npm test
npm run build

The built release asset is main.js.

Release Assets

Each GitHub release should upload:

  • main.js
  • manifest.json

This plugin currently does not use styles.css.

License

Released under the MIT License.

83%
HealthExcellent
ReviewCaution
About
Insert math blocks and code fences below the current line while preserving blockquote, callout, and ordered/unordered list indentation. Trigger via command palette or auto-expand by typing $$$ or ``` at a line end; supports empty-line cases and an optional two-line code-block mode.
EditingCodeLaTeX
Details
Current version
0.0.1
Last updated
Last month
Created
Last month
Updates
1 release
Downloads
27
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
homura144homura144
GitHubhomura144
  1. Community
  2. Plugins
  3. Editing
  4. Insert Block Below

Related plugins

VSCode Editor

Edit Code Files like VSCode.

Code Space

Professional code file management with visual dashboard, syntax highlighting editor, and Markdown embedding.

Quick Latex

Simplify and speed up LaTeX math typing.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Templater

Create and use dynamic templates.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Outliner

Work with your lists like in Workflowy or Roam Research.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Various Complements

Complete words similar to auto-completion in an IDE.

Creases

Tools for effectively folding Markdown sections.