Copy All Note

by loganjuhl
5
4
3
2
1
Score: 49/100

Description

An Obsidian plugin that adds a native header action to copy an entire note as Markdown.

Reviews

No reviews yet.

Stats

0
stars
65
downloads
0
forks
34
days
3
days
34
days
20
total PRs
1
open PRs
14
closed PRs
5
merged PRs
0
total issues
0
open issues
0
closed issues
12
commits

Latest Version

a month ago

Changelog

Copy All Note 0.1.1 prepares the plugin for its first public release and Obsidian Community directory submission, following the unpublished 0.1.0 candidate.

  • Requires Obsidian 1.13.7 or newer, matching native testing on macOS and a physical iPhone. The earlier declared 1.5.0 minimum was not verified.

  • Clarifies that copied Markdown comes from Obsidian's live buffer. Obsidian may normalize CRLF line endings to LF and remove a leading BOM before the plugin receives the text; original on-disk byte preservation is not guaranteed.

  • Updates the mobile toolbar setup instructions for Obsidian 1.13.7.

  • Fixes false success for empty output when modern clipboard access is unavailable or rejected. The plugin now reports failure and leaves the clipboard unchanged because the legacy fallback cannot reliably copy empty text.

Copy from a native note-header action or the Copy entire note command, including unsaved edits and valid empty buffers. Settings let you retain or remove YAML frontmatter and optionally add the note title.

For manual installation, download main.js, manifest.json, and styles.css from this release into <Vault>/.obsidian/plugins/copy-all-note/, reload Obsidian, and enable Copy All Note under Settings → Community plugins. The ZIP contains the same three files; SHA256SUMS.txt provides checksums for the downloads.

Community directory publication is a separate step. The plugin runs locally, makes no network requests, collects no telemetry, and processes note text only when you invoke a copy action.

README file from

Github

Copy All Note

CI License: MIT

A header button that copies the open note as Markdown, ready to paste into a chat, prompt, terminal, or another app. It uses Obsidian's live buffer, including unsaved edits, and also adds the command Copy entire note.

Install

Requires Obsidian 1.13.7 or newer on desktop or mobile. Tested on macOS and a physical iPhone. Installing the plugin does not require Node.js.

In Obsidian, open Settings → Community plugins and turn on community plugins if needed. Select Browse, search Copy All Note, then Install and Enable. You can also select Add to Obsidian from the Community listing.

For manual installation, download main.js, manifest.json, and styles.css from release 0.1.1 into:

<Vault>/.obsidian/plugins/copy-all-note/

The release ZIP contains a copy-all-note/ folder with those three files. Place that folder under <Vault>/.obsidian/plugins/, reload Obsidian, then enable Copy All Note under Settings → Community plugins.

Use

  • Click the copy icon in the note header, in Editing or Reading view.
  • Run Copy entire note from the Command Palette.
  • Assign the command under Settings → Hotkeys.
  • On Obsidian 1.13.7 mobile, open Settings → Interface → Configure mobile toolbar → Add a command…, then choose Copy All Note: Copy entire note.

In split panes and pop-out windows, the header button copies the note in that view; the command copies the active note.

The output is Markdown. Obsidian may already have converted CRLF line endings to LF or removed a leading byte-order mark (BOM) before supplying the buffer. The plugin does not read the file from disk.

An empty output copies only if the Clipboard API accepts it. If that API is missing or rejects the request, the plugin reports a failure and leaves the clipboard unchanged. If Obsidian asks for clipboard access when you copy, that prompt is expected.

Settings

Open Settings → Copy All Note. In 0.1.1, these controls are not indexed by Obsidian's settings search.

  • Include frontmatter (on): keep a leading YAML block.
  • Prepend title (off): add the note's filename without its extension as an H1. If frontmatter is kept, the H1 goes after the closing --- so the YAML stays valid.
  • Show success notice (on): show Copied note after a successful copy.
  • Show header button (on): turn off to hide the icon; the command remains available.
  • Icon (copy): use a nonempty Lucide icon name. Unknown names fall back to copy, then clipboard-copy, then clipboard.

Themes

The button uses Obsidian's .clickable-icon.view-action styling and inherits the theme's size and hover treatment. It does not change the editor, inline title, or Properties.

If a theme hides the view header, use the command, a hotkey, or the mobile toolbar. On Cupertino, the button goes at the start of the action row to preserve the theme's mode-switcher position.

Privacy

No network requests, telemetry, or clipboard reads. Note text is read only when you copy and is not saved by the plugin. Saved settings contain only booleans and an icon name; the plugin does not modify note files.

If the Clipboard API is missing or rejects the request, nonempty text is copied through a temporary off-screen textarea in that window, then removed. Focus and selection are restored where possible.

Use synthetic note text in GitHub Issues. For vulnerability reports, see SECURITY.md.

Development

Node.js 22.22.2 or newer is required for development.

npm ci
npm run dev

npm run check lints, typechecks, tests, builds, and checks release metadata. To build an installable folder, run npm run release:prepare and copy dist/copy-all-note/ into <Vault>/.obsidian/plugins/.

See CONTRIBUTING.md for the manual test matrix and docs/RELEASING.md for release steps.

License

MIT © 2026 Logan McKinley Juhl