docs: only highlight standalone terms
This commit is contained in:
parent
075b475429
commit
b5441a3e43
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@
|
||||||
"output", "streamer",
|
"output", "streamer",
|
||||||
"modifier",
|
"modifier",
|
||||||
)
|
)
|
||||||
// yes, the shadowing is intentional
|
// yes, the shadowing is intentional to avoid accidentally using the list
|
||||||
#let terms = regex(terms.map(expand).join("|"))
|
#let terms = regex("\\b(" + terms.map(expand).join("|") + ")\\b")
|
||||||
|
|
||||||
#let conf(
|
#let conf(
|
||||||
title: none,
|
title: none,
|
||||||
|
|
Loading…
Reference in a new issue