Executes in-line bash in markdown files
Project description
bashdown
A markdown pre-processor for inline bash.
Have you ever written a command line tool and wanted to include it's output in your documentation?
Then bashdown is for you.
Write your markdown files as usual and include bash code sections as normal using "```bash".
When you pass this file through bashdown, it will run the code in the code block and include that output inside the rest of the markdown.
This README.md was generated using bashdown. Check README.bashdown for the file that's used to generate README.md
This project was inspired by tools like quarto and Rmarkdown, but has significantly fewer dependencies due to it's much more limited scope.
Usage
Basic usage is as follows:
# bashdown README.bashdown > README.md
Full usage information can be obtained from the built in help.
bashdown --help
usage: bashdown [-h] filename
Processes in-line bash in markdown files
positional arguments:
filename
optional arguments:
-h, --help show this help message and exit
For more information please see the docs
License
MIT © Mark Sellors
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bashdown-0.5.0.tar.gz
.
File metadata
- Download URL: bashdown-0.5.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.9.2 Linux/5.15.84-v7l+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9d96d8b9dca2252ac7be2b29aaba192d6942ecb816367ee6019636be9161ed |
|
MD5 | 0c525cb5b75d9e70a4befcfe2a6be138 |
|
BLAKE2b-256 | 12a4463b9913f4b28418ec95aa989ade91a4524adbf19f12e5c27a3dfa89f1f4 |
File details
Details for the file bashdown-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: bashdown-0.5.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.9.2 Linux/5.15.84-v7l+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d05fa8965ecb9ecea4687b937c8a7b5e5433ac1587c9c92560a17e3d867742f |
|
MD5 | 6df5dc507cc29b10767d3cb3dc91e96a |
|
BLAKE2b-256 | f26a9d6d61b7ddac084f42f8c74f7cef913b047b0c9e1c3ac1006e97424e7d0f |