https://github.com/gapmiss/copy-as-source
Select and copy source HTML in reading view in Obsidian.md
https://github.com/gapmiss/copy-as-source
obsidian obsidian-md obsidian-plugin view-source
Last synced: about 2 months ago
JSON representation
Select and copy source HTML in reading view in Obsidian.md
- Host: GitHub
- URL: https://github.com/gapmiss/copy-as-source
- Owner: gapmiss
- License: mit
- Created: 2024-01-06T19:24:05.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-29T12:38:22.000Z (about 2 years ago)
- Last Synced: 2024-12-29T14:34:11.654Z (about 1 year ago)
- Topics: obsidian, obsidian-md, obsidian-plugin, view-source
- Language: TypeScript
- Homepage:
- Size: 33.2 KB
- Stars: 2
- 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
