Replies: 1 comment 4 replies
-
Yields (https://djot.net/playground/) the following AST (abstract syntax tree):
So as far as Djot input is concerned, it seems to me that the block attribute (here "keyfn=value") is correctly parsed (it must be on its own line preceding the block), and is where it should be in the AST. However, it's not rendered in the HTML output (whether on the For the record, in my own SILE-based renderer, I use such block attributes for "styling" footnotes with a custom mark, e.g.
So your issue here really seems to be on the HTML renderer's side of things -- It might be worth reporting an issue on djot.lua and/or djot.js -- and Pandoc 3.1.13 also ignores the block attribute... |
Beta Was this translation helpful? Give feedback.
-
The documentation says the footnote itself is a block element, but I can't figure out how to apply an attribute that will get applied to the rendered
<li>
in the HTML output.I may just be pushing too hard to get the system to do something it's not wanting to do, but is there any good way to apply that attribute to the whole footnote?
I've settled on this in the meanwhile, but I don't love it.
Beta Was this translation helpful? Give feedback.
All reactions