Skip to content

Custom block directive is not rendered if output includes an ID #315

Answered by jenshalm
noelwelsh asked this question in Q&A
Discussion options

You must be logged in to vote

That's a known issue and has the same underlying cause as #289 (the only difference is that Header nodes have implicitly added ids whereas your directive explicitly adds one). It has been fixed for 0.19 in #302. As you can see this is a big refactoring as unfortunately this was not a simple bug, but a bigger structural problem that existed for years, but has never been reported until a few months ago. This also means it's impossible to fix in a binary compatible patch release for 0.18.

The RC for 0.19 is still several weeks away, so if you need to use the above directive with 0.18 you could try some workarounds. The limitation for all workarounds will be that you cannot write Markdown wit…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@noelwelsh
Comment options

Answer selected by noelwelsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants