⚠️ this preprocessor is not production ready, use it with caution ⚠️
The Bash Tutorial mdbook preprocessor allows you to import a Bash script in your book. Scripts remain easily testable and are embedded in the book at build time.
chapter-1.md
```markdown
{{#tutorial ./example/bash-script.sh}} ```
example/bash-script.sh
```bash
echo "command" sleep 1000 # mdbash: skip-line
echo "command-2" ```
Built chapter ````markdown
console
echo "command"
console
echo "command-2"
````