docs: only highlight standalone terms
This commit is contained in:
parent
221ca09961
commit
cbbe2c3253
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue