diff options
Diffstat (limited to 'md.bqn')
| -rw-r--r-- | md.bqn | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -262,7 +262,7 @@ Markdown ← {filename𝕊𝕩: codeMask ← ≠` I2M ⥊ codeBounds ← 1‿2⊸⊏˘ ctInds 𝕩 ↩ ' '¨⌾((codeMask∧𝕩=lf)⊸/) 𝕩 # If span has both a leading and a trailing space, they are removed. - remSpace ← I2M ⥊ ((1<-˜´˘)∧·∧´˘' '=⊏⟜𝕩)⊸/ -⟜0‿1˘ codeBounds + remSpace ← I2M ⥊ ((1<-˜˝˘)∧·∧˝˘' '=⊏⟜𝕩)⊸/ -⟜0‿1˘ codeBounds codeMask ∧↩ ¬ remSpace ⟨code,codePos⟩ ← codeMask extensions◶(2⥊<⟨⟩)‿GetMultiHighlights 𝕩 include ← ¬ remSpace ∨ ≠` I2M ⥊ ctInds @@ -404,7 +404,7 @@ GetHighlights ← { 0 , " "∾•UCS 9‿10 "Value" , ¯1⊏˘5‿2⥊"𝕨𝕩𝕗𝕘𝕤" "Function" , "+-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!"∾¯1⊏˘5‿2⥊"𝕎𝕏𝔽𝔾𝕊" - "Modifier" , "˜˘¨⌜⁼´`" + "Modifier" , "˜˘¨⌜⁼´˝`" "Modifier2" , "∘○⊸⟜⌾⊘◶⎉⚇⍟" "Number" , ∾idChars "Gets" , "←↩→" @@ -463,7 +463,7 @@ Fmt ← { (𝕨/" ") (∾⎉1∾⎉1⊣) 𝕩 } Pad ← PadH⟜PadV - Enframe ← {(1≠𝕨)∨(1≠≠𝕩)∨⊑2∊+`-´<˘"⟨⟩"=⌜⊏𝕩}◶{ + Enframe ← {(1≠𝕨)∨(1≠≠𝕩)∨⊑2∊+`-˝"⟨⟩"=⌜⊏𝕩}◶{ ≍"⟨"∾(¯1↓1↓⊏𝕩)∾"⟩" }‿{ l ← ¯1 ⊑ ≢𝕩 @@ -480,8 +480,8 @@ Fmt ← { }) PaddingJoin ← {1𝕊𝕩; s ← ≢¨ 𝕩 - w ← ⌈´⥊<⎉1 1⊑¨s - h ← ⌈´⎉1 ⊑¨s + w ← ⌈˝⍟(=-1˜)1⊑¨s + h ← ⌈˝⎉1 ⊑¨s ∾⎉2 ≍⍟(0⌈2-=) (h ∾⌜ 𝕨×w¬(-𝕨×≠w)↑1) ↑¨ 𝕩 } FmtMixed ← { |
