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

Copy Section

skztrskztr3k downloads

Adds a Copy button to the top of Headed sections.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates11

This plugin adds a "copy" button to # Header lines within the document. Clicking the button will copy everything within that section (eg: up to the next # Header line of the same level). Data is copied as raw markdown.

Features

  • Allows you to easily copy entire sections
  • Optionally omit %%comments%% or lines containing only #tags
  • Copy all sub-sections, or only up to the next # Header line of any level
  • Choose which levels you want the copy button to appear on

Note on edge-cases

There are some ways in which %%comments%% and inline code interact which Obsidian itself is inconsistent about. Take for example the code:

%%comment `code A%%A`B%%B end

Editor View considers the comment to end at B%%B, while Reader View considers the comment to end at A%%A. This plugin does not attempt to make any decision on such cases. Because Obsidian is inconsistent, the plugin also considers such mixtures to result in undefined behavior.

HealthGood
ReviewCaution
About
Add a copy button to header lines to copy the entire section as raw Markdown up to the next header of the same level. Omit %%comments%% or tag-only lines, include all sub-sections or stop at the next header, and pick which header levels show the button.
EditingMarkdownInterface
Details
Current version
1.2.4
Last updated
10 months ago
Created
2 years ago
Updates
11 releases
Downloads
3k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
skztrskztr
github.com/skztr
GitHubskztr
  1. Community
  2. Plugins
  3. Editing
  4. Copy Section

Related plugins

Text Format

Format selected text upper/lower/capitalize.

Meta Bind

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

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Force note view mode

Force the view mode for a note by using frontmatter: YAML block with 'obsidian_ui_mode' as key.

Typewriter Mode

Typewriter scroll, writing focus, current line highlight, paragraph dimming, and more!

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Heading Shifter

Easily Shift and Change Markdown headings.

Various Complements

Complete words similar to auto-completion in an IDE.

Cursor-Smith

Forge your cursor with the most advanced cursor engine there is!

Shortcuts extender

Use shortcuts for input special symbols without language switching.