Copy as source
approvedby gapmiss
Select and copy source HTML in reading view.
★ 5 stars↓ 1,987 downloadsUpdated 2mo agoMIT
copy-as-source
Obsidian.md plugin to select and copy source HTML in reading view. The source HTML code is formatted via prettier and copied to the clipboard.
Installation
Install from community.obsidian.md
From Obsidian's settings or preferences:
- Community Plugins > Browse
- Search for "Copy as Source"
Manually:
- download the latest release archive
- uncompress the downloaded archive
- move the
copy-as-sourcefolder to/path/to/vault/.obsidian/plugins/ - Settings > Community plugins > reload Installed plugins
- enable plugin
or:
- download
main.js,manifest.json&styles.cssfrom the latest release - create a new folder
/path/to/vault/.obsidian/plugins/copy-as-source - move all 3 files to
/path/to/vault/.obsidian/plugins/copy-as-source - Settings > Community plugins > reload Installed plugins
- enable plugin
How to use
- In settings, assign a hotkey for the
Copy as source: Copy selection sourcecommand. - In reading view, select the elements you want to copy the source of and execute the assigned hotkey.
Demo
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.