diff options
| -rwxr-xr-x | dzref | 2 | ||||
| -rwxr-xr-x | gendocs | 5 | ||||
| -rw-r--r-- | md.bqn | 2 |
3 files changed, 4 insertions, 5 deletions
@@ -66,6 +66,7 @@ ProgressiveIndexOf ← {𝕨⊐○(≍˘⟜OccurrenceCount𝕨⊸⊐)𝕩} raw ← {⍎} X ← {F:≤4} +_withRef ← ˙ {v: chrs←⟨ "↕⊐⊒∊⍷" @@ -118,6 +119,7 @@ X ← {F:≤4} Raw ∾ ∾⟜lf¨ path <⊸∾ src } X↩Raw∘E_proc + _withRef ↩ {𝕗∘E_proc} Raw ∾ ∾⟜lf¨ pre ≠◶(X˙)‿{ExecFile ⊑𝕩}‿{ExecFile ⊑𝕩 ⋄ X 1⊑𝕩} •args } @@ -2,7 +2,4 @@ # Generate HTML files from markdown ones # Argument gives specific files if present; otherwise convert everything -for f in ${1-*.md */*.md} ${@:2:$#} -do - ./dzref md.bqn "ConvertFile \"$f\"" -done +./dzref md.bqn "ConvertFile¨ (¬×+\`)⊸-∘=⟜' '⊸⊔ \"$(echo ${1-*.md */*.md} ${@:2:$#})\"" @@ -237,7 +237,7 @@ Markdown ← {filename𝕊𝕩: mod ← ⟨em,e∾c∾r,ei∾ci∾ri⟩ Modify code 𝕩 Link⊸∾⍟addRslt "pre" Html "code" Html⍟(¬extensions) mod } - CodeExec ← X # dzaima+reference exec. Should be {⍎} + CodeExec ← {⍎}_withRef # dzaima+reference exec. Should be {⍎} # Headings start with #, and require 1-6 #s followed by a space. # Any trailing #s are ignored. |
