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 Markdown Source

Dominik BachDominik Bach17 downloads

Copy the Markdown source of a selection, including headings and math delimiters, not the rendered preview.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

When you copy a selection, the clipboard gets the Markdown source, not the rendered preview.

Native copy from Live Preview or Reading view drops ### heading markers and $$ math fences. Paste still looks right inside Obsidian and wrong everywhere else. This plugin writes text/plain as the source you typed.

Use

Enable the plugin. Select text and copy as usual (Cmd+C). Paste into a chat, email, or editor.

Command: Copy selection as Markdown source.

Example

Copied source:

### (a)
$$
\forall n. A(n) := \exists a,b,c,d \in \mathbb{N}. (a^2+b^2+c^2+d^2=n)
$$

Not the stripped preview:

(a)

\forall n. A(n) := ...
HealthExcellent
ReviewSatisfactory
About
Copy Markdown source to the clipboard from Live Preview and Reading view, preserving heading markers, math fences and other raw syntax instead of the stripped rendered text. Select text and copy as usual; pasted content outside Obsidian retains the original Markdown.
MarkdownEditing
Details
Current version
1.0.0
Last updated
3 days ago
Created
3 days ago
Updates
1 release
Downloads
17
Compatible with
Obsidian 1.7.2+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Dominik BachDominik Bachmit-bach
GitHubmit-bach
  1. Community
  2. Plugins
  3. Markdown
  4. Copy Markdown Source

Related plugins

Outliner

Work with your lists like in Workflowy or Roam Research.

Various Complements

Complete words similar to auto-completion in an IDE.

Heading Shifter

Easily Shift and Change Markdown headings.

Shortcuts extender

Use shortcuts for input special symbols without language switching.

Chord Sheets

Work with chord sheets (chords over lyrics or inline) in Live Preview and reading mode: Chord diagrams for guitar, ukulele, mandolin and piano, transpose, autoscroll, and more.

Easy Copy

Easily copy the text within inline code, bold text (and many other formats), or quickly generate an elegant link to a heading or block.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

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

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)