Doesn't work with RevealJS HTML Backend
shivams opened this issue · comments
I am using it as follows
#+begin_parallel
[[color:orange][Are you excited to learn some Lisp?]] [[blue:Yes!]]
Pop-quiz: How does doc:apply work?
#+end_parallel
In the HMTL backend,
it works fine.
However, when I export it to revealJS HTML
Using the org-reveal
package, the generated HTML doesn't reflect the different columns as it does in plain HTML. As I inspect the generated HTML using the reveal backend, it has no special CSS inserted as it had in the plain HTML backend.
Please tick the following, by replacing [ ]
with [X]
- I am aware of the extensive documentation at http://alhassy.com/org-special-block-extras/
- I have read the documentation of doc:org-defblock
- I have checked some boxes without reading them.
- I am aware that
(org-defblock X ⋯)
gives me a Lisp functionorg-block/X
that I can play with; e.g.,C-h o org-block/shout
shows a function with its
docstring and arguments. We can pressC-u C-x C-e
at the end of the
closing parens of(org-block/shout 'html "*Hello*, /world/!")
to see
what Org sees when it rewrites ashout
block with the given string as its contents.
This is because org-special-block-extras
hardcodes backend checks based on
strict equality (e.g. using (equal backend 'html)
or (equal backend 'latex)
)
instead of using org-export-derived-backend-p
from 'ox
.
Perhaps @alhassy will have time to either fix it or review a patch that fixes
it.