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

skztrskztr2k 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.

76%
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
5 months ago
Created
2 years ago
Updates
11 releases
Downloads
2k
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

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.

Various Complements

Complete words similar to auto-completion in an IDE.

Hover Editor

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

Advanced Tables

Improved table navigation, formatting, and manipulation.

Importer

Import data from Notion, Evernote, Apple Notes, Microsoft OneNote, Google Keep, Bear, Roam, and HTML files.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Creases

Tools for effectively folding Markdown sections.