Skip to main content

Markdown Run Book (mdrb)

deno doc

Execute a markdown file with Deno.

Install

deno install --unstable -Arfn mdrb https://deno.land/x/mdrb/mod.ts

Demo

# execute the mdrb demo from its url
mdrb https://deno.land/x/mdrb/demo.md

# or, if you cloned this repository
mdrb demo.md

# you can also pipe the file to `mdrb` but
# note that you can't use `runbook`
# mode (the default) when doing so because
# a tty is required for interactive prompts;
# mode will be changed to `isolated` for
# you in this scenario unless you manually
# specify a mode other than `runbook`
cat demo.md | mdrb --mode isolated

Prior Art