Skip to content

Releases: jglev/obsidian-paste-mode

2.1.0

19 Jan 02:48
7567f54
Compare
Choose a tag to compare
  • Added new "Code Block" mode (resolves #3) (thanks to @wenlzhang for the suggestion)
  • Mode names now have spaces and capitalization (vs. hyphens and lowercase)
  • Corrected typo in URL (resolves #7) (thanks to @claremacrae)

2.0.1

13 Jan 13:11
a34931d
Compare
Choose a tag to compare
  • Fixed bug whereby pasting would include leading whitespace on the first line in text or markdown modes unnecessarily (#5).

2.0.0

04 Jan 01:58
90b0b27
Compare
Choose a tag to compare

A significant release! 🎉

The major version upgrade number (from v1 to v2) reflects that this update fundamentally changes the interface and approach of this plugin.

See the Readme for updated documentation.

Changes:

  • The plugin now takes over the paste functionality within Obsidian. It has six "paste modes," which determine what happens when one pastes text within a file in Obsidian. All of the below will honor the cursor's current indentation when pasting, except for "Passthrough" mode, which uses Obsidian's default paste functionality.
  1. "Text" mode: Paste the clipboard text.
  2. "Text Blockquote" mode: Paste the clipboard text as a blockquote (prepended with the prefix from the plugin's Settings menu -- by default, "> ").
  3. "Markdown" mode: Convert any HTML to markdown before pasting.
  4. "Markdown Blockquote" mode: Convert any HTML to Markdown before pasting. Then, paste the result as a blockquote (prepended with the prefix from the plugin's Settings menu -- by default, "> ").
  5. "Passthrough" mode: Use Obsidian's default paste functionality.

The current paste mode is displayed in Obsidian's Status Bar.

1.1.0

03 Aug 17:13
Compare
Choose a tag to compare
  • Fixed bugs associated with handling leading whitespace.
  • Added command for pasting blockquotes surrounded by HTML <blockquote> elements.

1.0.0

15 Jul 20:42
Compare
Choose a tag to compare

Initial release, which includes three functions:

  • Paste text to current indentation
  • Paste blockquote to current indentation
  • name: 'Toggle blockquote at current indentation