aboutsummaryrefslogtreecommitdiff
path: root/md.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-07-07 21:23:06 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-07-07 21:23:26 -0400
commit77c6ab5c8435c9fcde7c4742ee0e5eb06341eeff (patch)
tree48ff9cf3b9066aea0e38111a9dc5ce92f87ebe96 /md.bqn
parentf14c4af888dc678eefe1de323b8fe41f7387e82b (diff)
Separate token and constant documentation into its own page
Diffstat (limited to 'md.bqn')
-rw-r--r--md.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/md.bqn b/md.bqn
index 8aa21c43..fd325102 100644
--- a/md.bqn
+++ b/md.bqn
@@ -273,9 +273,9 @@ Markdown ← {filename𝕊𝕩:
items ↩ { ∨´indent ?
# Require indented lines to form a nested list
Len ← { ! ∧´(⊑¨𝕩)∊"-+*" ⋄ LenBullet ⊑𝕩 }
- start ← »⊸< indent
# Process items recursively
- sub ← Len⊸ProcBullet¨ (1-˜indent×+`start) ⊔ items
+ groups ← 1 -˜ (indent∾1) × +` (¬indent)∾1
+ sub ← Len⊸ProcBullet⍟(0<≠)¨ groups ⊔ items
# Append to the first line, which is assumed to stand alone
(ProcInline¨ indent ¬⊸/ items) JoinLines∘⋈¨ sub
;