Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gapmiss/copy-as-source
Select and copy source HTML in reading view (Obsidian.md)
https://github.com/gapmiss/copy-as-source
obsidian obsidian-md obsidian-plugin
Last synced: about 2 months ago
JSON representation
Select and copy source HTML in reading view (Obsidian.md)
- Host: GitHub
- URL: https://github.com/gapmiss/copy-as-source
- Owner: gapmiss
- License: mit
- Created: 2024-01-06T19:24:05.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-01-29T12:38:22.000Z (11 months ago)
- Last Synced: 2024-01-29T18:02:48.068Z (11 months ago)
- Topics: obsidian, obsidian-md, obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
## How to use
1. Install [latest release](https://github.com/gapmiss/copy-as-source/releases).
2. In settings, assign a hotkey for the `Copy as source: Copy selection source` command.
3. In reading view, select the elements you want to copy the source of and execute the assigned hotkey.## Demo
![Demo screencast GIF](https://github.com/gapmiss/copy-as-source/assets/98914514/45ac285d-42b1-44a1-9c3b-87eedb95f33c)