typelevel / Laika

Site and E-book Generator and Customizable Text Markup Transformer for sbt, Scala and Scala.js
https://typelevel.org/Laika/
Apache License 2.0
406 stars 44 forks source link

Manual assignment of header block ids is overwritten #613

Closed milessabin closed 1 month ago

milessabin commented 1 month ago

The id for a Header block can be explicitly assigned with withId. However this id appears to be replaced at some point during the transformation pipeline with one generated using the theme's slug builder applied to the result of extractText.

I think the explicitly assigned id should be preserved.