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",
|
||||
"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