emacs-love / weblorg

Static Site Generator for Emacs
https://emacs.love/weblorg
GNU General Public License v3.0
282 stars 21 forks source link

Generating posts with org-transclusion #71

Open nanjigen opened 1 year ago

nanjigen commented 1 year ago

I'm trying to make use of the org-transclusion package, which allows one to include content from other org files via links. I was hoping to do this as a means of writing posts without rewriting content or copying it verbatim.

Unfortunately, (weblorg-export) doesn't actually generate the HTML of the transcluded content, possibly because it works off of the org file and not the rendered buffer contents (the raw file on disk would only show the link, not the transcluded content).

I've tried looking into using :input-pattern as a means of achieving this but was unsuccessful. Any hints on how to get this functionality?

Thanks