docs: only highlight standalone terms

This commit is contained in:
multisn8 2024-01-10 21:28:01 +01:00
parent 221ca09961
commit cbbe2c3253
Signed by untrusted user: multisamplednight
GPG key ID: C81EF9B053977241

View file

@ -48,8 +48,8 @@
"output", "streamer",
"modifier",
)
// yes, the shadowing is intentional
#let terms = regex(terms.map(expand).join("|"))
// yes, the shadowing is intentional to avoid accidentally using the list
#let terms = regex("\\b(" + terms.map(expand).join("|") + ")\\b")
#let conf(
title: none,