Copy Markdown Source

by Dominik Bach
5
4
3
2
1
Score: 50/100

Description

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

Reviews

No reviews yet.

Stats

0
stars
53
downloads
0
forks
31
days
31
days
31
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
1
commits

Latest Version

a month ago

Changelog

Copy Markdown source on copy/cut instead of the rendered preview.

README file from

Github

Copy Markdown Source

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) := ...