I’m looking for a way to style terms-items but keep the accessibility tags.
I got the following working, but it doesn’t feel right / good:
#let definition(term, description) = {
set terms(
hanging-indent: 0pt,
)
let term = term + linebreak()
terms((term, description))
}
This gives me full styling possibilities but it looses the tags in the pdf (everything as a p-element instead of L > LI > Lbl (term) / LBody (description)):
#show terms.item: it => [
*#it.term*
#linebreak()
#it.description
]
As in, you want a way to manually add the PDF tags back if you remove them? I suppose something like this could be supported through the PDF module. I recommend you to open a feature request through github [click new issue > compiler feature request].