aboutsummaryrefslogtreecommitdiff
path: root/md.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-01 14:27:35 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-01 14:28:30 -0500
commitc9b3328c838fb44f4ccf3d25e4d6d3e93870caad (patch)
tree74635fc8bad5d7b7ada2f09aa28e4f765d426bf5 /md.bqn
parent7cba6760446f02070fa201d1a2ee60de04618fd4 (diff)
Color system dot • like the following identifier, if there is one
Diffstat (limited to 'md.bqn')
-rw-r--r--md.bqn4
1 files changed, 3 insertions, 1 deletions
diff --git a/md.bqn b/md.bqn
index 4c5bdeb1..010e92b0 100644
--- a/md.bqn
+++ b/md.bqn
@@ -595,7 +595,9 @@ GetHighlights ← {
wt+↩ '_' = («⊸<id)/𝕩 # Modifier1 to Modifier2 based on word end
wt+↩ 5×0=wt # Shift 0 to Number
wi ← 1-˜+`id/w # Index of word containing each of /id
- col↩(wi⊏wt)⌾(id⊸/) col
+ col↩ (wi⊏wt)⌾(id⊸/) col
+ # And the system dot
+ col↩ («col) ⊣⌾((id»⊸∧𝕩='•')⊸/) col
# Tags are placed at boundaries between different colors
boundary ← ¯1⊸»⊸≠ col