4 ms·
I think I have what you're looking for. :) https://github.com/alphapapa/org-protocol-capture-html https://github.com/alphapapa/org-protocol-capture-html With
by alphapapa 11y ago
I think I have what you're looking for. :)
https://github.com/alphapapa/org-protocol-capture-html https://github.com/alphapapa/org-protocol-capture-html
With this, you can capture HTML content directly into Org, converted into Org syntax with Pandoc.
For example, to capture your comment into Org, I just highlight it in Pentadactyl (Firefox), press "cc", and Emacs pops up a capture buffer with your comment inserted into the capture template. Or if I press "ch", it passes it through Pandoc, converting HTML lists, tables, headings, code blocks, etc. into their Org counterparts.
I also just added support for python-readability, so if I press "cr", the URL of the page is sent to python-readability, which gets the article content (just like the good ol' Readability bookmarklet), then passes it through Pandoc, and then places it into the capture template.