Run markdown recipes as shell scripts
Project description
Mechanical Markdown
If you are using markdown to create tutorials for your users, these markdown files will often be a series of shell commands that a user will copy and paste into their shell of choice, along with detailed text description of what each command is doing.
If you are regularly releasing software and having to manually verify your tutorials by copy pasting commands into a terminal every time you create a release, this is the package for you.
The mechanical-markdown package is a python library and corresponding shell script that allow you to run annotated markdown tutorials in an automated fashion. It will execute your markdown tutorials and verify the ouput according to expected stdout/stderr that you can embed directly into your markdown tutorials.
Installing
This package requires a working python3 environment. You can install it using pip:
pip install mechanical-markdown
This will install the python module, and create the mm.py
CLI script.
Quick Start
Check out the examples for some quick and easy examples.
Contributing
Issues and contributions are always welcome! Please make sure your submissions have appropriate unit tests (see tests/).
This project was created to support dapr/quickstarts. We're sharing it with the hope that it might be as usefull for somebody else as it was for us.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for mechanical-markdown-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d4cf312c5d8bd5e486f640d4ca2fac73520d3eddcbe063932ebca9f78d1f2f |
|
MD5 | cd62a8531d65d3c851dfafbd2dc4d583 |
|
BLAKE2b-256 | 3f9e8a4858025b3d499b9c1e9d52e64038f42efb5cb86de08a17fc1246a15696 |