aboutsummaryrefslogtreecommitdiff
path: root/md.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-18 23:15:53 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-18 23:15:53 -0400
commit6243dcd88bf70157d600e787a7c344541df98085 (patch)
tree4ce61b29c37a5cf4810fb66a448f74affae6586e /md.bqn
parent7b36cd6a7a6d576c19c60e7842a0d0d0c460702a (diff)
Don't try to generate results for empty lines in code blocks
Diffstat (limited to 'md.bqn')
-rw-r--r--md.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/md.bqn b/md.bqn
index ee79c49f..8e302557 100644
--- a/md.bqn
+++ b/md.bqn
@@ -129,7 +129,7 @@ Markdown ← {𝕊𝕩:1𝕊𝕩; extensions𝕊𝕩:
# execute each one and insert the results.
addRslt ← ∧´ ' ' = ∾ 4 (⌊⟜≠ ↑ ⊢)¨ 𝕩
r‿ri ← addRslt◶(2⥊<⟨⟩)‿{
- ⟨ (⥊∾⟜lf⎉1)∘⍕∘CodeExec¨ 𝕩
+ ⟨ (⥊∾⟜lf⎉1)∘⍕∘CodeExec⍟(0<≠)¨ 𝕩
1 -˜ +` 1 + ≠¨ 𝕩 ⟩ # Don't forget the trailing newline
} 𝕩