It's my understanding uniorg-rehype is meant to mimic ox-html somewhat, and internal links to org file should resolve to the corresponding html file. I'm currently getting around this via a transformer https://github.com/venikx/venikx.com/blob/main/src/lib/plugins.ts but ideally this should be handled by uniorg-rehype if it wishes to mimic the behavior of ox-html. Another options is to create a rehype plugin that translates all .org links to `.html'.
The following snippets:
Parses it as:
And returns the following html:
It's my understanding
uniorg-rehype
is meant to mimicox-html
somewhat, and internal links to org file should resolve to the corresponding html file. I'm currently getting around this via a transformer https://github.com/venikx/venikx.com/blob/main/src/lib/plugins.ts but ideally this should be handled byuniorg-rehype
if it wishes to mimic the behavior ofox-html
. Another options is to create arehype
plugin that translates all.org
links to `.html'.