A Greasemonkey user script to help me convert selected HTML to markdown for next using in QOwnNotes.
It will convert all html tags to markdown except tag. tag will be converted in QOwnNotes and Images will download into local "media" folder.
When use copy function in firefox, some line breaks will be auto inserted into html source in clipboard. If it is converted to markdown when using "paste html and media" function in QOwnNotes, these line breaks will also save. So I write a script to remove it. This script will romove unnecessary white space also.
- Greasemonkey (on Firefox)
-
Make sure you have installed the Greasemonkey add-on on your firefox browser.
-
click here to install.
- Highlight the section of a web page you wish to copy. Right-click, and select "Copy Helper for QOwnNotes".
- Or press ctrl key and highlight the section of a web page you wish to copy, the text will auto copy.
- Use "Paste html or media" in menu or shortcut "ctrl+shift+v" in QOwnNotes.