Python type code generator
Project description
Table of Contents
renderme
Render markdown templates by injecting table of contents and shell command output.
Installation
pip install renderme
Usage
usage: rendermd [-h] [-p PATTERNS] [--no-recursive]
Render markdown templates. This command recursively search the current
directly and find all markdown files by matching given patterns (default to
"**/README.md").
optional arguments:
-h, --help show this help message and exit
-p PATTERNS, --pattern PATTERNS
Comma separated list of markdown files to populate
--no-recursive Do not search for files recursively
Examples:
[//]: # (start:toc) and [//]: # (end) will produce table of contents.
[//]: # (start:shellecho abc) and [//] # (end) will produce abc (the output of the shell command echo abc.
More examples can be found in test_toc_generator.py and test_shell_generator.py
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
rendermd-0.6.1.tar.gz
(7.5 kB
view hashes)