diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-10-01 22:01:20 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-10-01 22:01:20 -0400 |
| commit | 70153de8c77ead4849e45fad0eaaacb7c6f5ac1f (patch) | |
| tree | 264c8da8f132ea5dcc633ab6864c8ed376716c11 | |
| parent | 3b3463349990ec179f42a8a805ecd3a3f06b9dbb (diff) | |
Drop extra cells if a row is longer than the header in a markdown table
| -rw-r--r-- | md.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ Markdown ← {filename𝕊𝕩: rows ← (Trim¨ CutTableRow⊸⊔)¨ 𝕩 incl ← ¬ rule ← (∧´∾∊"-:"˙)¨ rows align ← alignments ⊏˜ (+˜⊸+´0‿¯1⊏⊢)¨ ':' = ⊑ rule / rows - rows ↩ ProcInline¨¨⌾(incl⊸/) rows + rows ↩ (((≠align)⌊≠)⊸↑ ProcInline¨)¨⌾(incl⊸/) rows rows ↩ (⊏rows) (⊢ ∾ ⟨""⟩ /˜ 0⌈-○≠)¨ rows rowType ← incl / +` rule # Head or body tags ← rowType ⊏ "th"‿"td" |
