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
410 stars 44 forks source link

BUG: API link expansion does not preserve proper casing if part of brackets #506

Closed j-mie6 closed 1 year ago

j-mie6 commented 1 year ago

When putting an @:api(X) directive inside [] (so as to give custom link text, say), the casing of X is not respected, so that [text][@:api(X)] results in something equivalent to [text][@:api(x)] instead.

jenshalm commented 1 year ago

Completed in #514 & #515