Skip to main content

Module md

Module md 

Source
Expand description

Markdown to script transform (zx transformMarkdown).

Prose becomes // comments, indented blocks and js/ts fences are kept as code, sh/bash/shell fences become an awaited $ template and any other fence is commented out.

Functionsยง

transform_markdown
Turn a markdown document into an executable zx script.