added support for auto color with _note and _par

This commit is contained in:
2024-10-06 15:12:50 +02:00
parent 3bc103b9d7
commit b66634d44f
3 changed files with 11 additions and 1 deletions

View File

@ -4,6 +4,9 @@
#import "note.typ"
#let get-arrow-marks(sym, color) = {
if sym == none {
return none
}
if type(sym) == array {
return sym.map(s => get-arrow-marks(s, color))
}