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.
From Obsidian's community plugins or manually install the latest release.
- 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.
