Background: I maintain
org-gcal, a package that lets users synchronize Google Calendar events with Org-mode files. One of the features that I have is a way to download the event description as HTML. Right now, I just download the raw HTML and place it in a drawer.
I'd like to have the ability to wrap this HTML in some kind of block and preview it as Org-mode syntax, so that it's easier to read it in Emacs. I'm thinking of wrapping the text in a #+BEGIN_SRC html block (or maybe a custom block), calling out to Pandoc to convert the HTML to Org, and overlaying the Org-mode syntax to replace the HTML block (like org-display-inline-images,
org-preview-html but with Org syntax instead of an image,
graphviz-dot-mode, etc.
I'd like a solution that preserves the original HTML, because org-gcal supports updating Google Calendar events based on the Org-mode file.
Does anyone know of a library like this?
submitted by