Replies: 1 comment 1 reply
-
org-rehype mimicks ox-html export, so :export none should return null. It
might also need to look ahead and remove a result block as well
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
venikx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is the goal providing good defaults "a la" org-html, but having the capability to customise this?
I'm asking, cause I'm curious what to do with source blocks which have
:exports none
. In regular org-export, it means these code blocks aren't getting exported and should be ignored.So that'd mean the following code should return null.
uniorg/packages/uniorg-rehype/src/org-to-hast.ts
Lines 304 to 317 in 3ee16b8
Or is the goal of
uniorg-rehype
to provide the least destructive changes to generate the html, while proving decent defaults?Beta Was this translation helpful? Give feedback.
All reactions