diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-21 19:48:24 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-21 19:48:24 -0400 |
| commit | 93f75e97685520cdad3afab0134e2f65e5e211e2 (patch) | |
| tree | 790c97ead26f8417b199922136f69397c703ddad /md.bqn | |
| parent | b3ecbb5695a5a0a0637c924da0022abca940ffee (diff) | |
Add Insert (˝) 1-modifier
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 ← { |
