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 Bach159 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
2 months ago
Created
2 months ago
Updates
1 release
Downloads
159
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

Text Format

Format selected text upper/lower/capitalize.

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.

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.

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.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

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.

Meta Bind

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

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.