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 details)
Built Distribution
File details
Details for the file rendermd-0.6.1.tar.gz
.
File metadata
- Download URL: rendermd-0.6.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2bae42b5800a0ff236e6c0eafce9109c5b25fd31d6e8aec2cc7aec9b2e3be7 |
|
MD5 | ad545017df5607e9daed847ee770fa20 |
|
BLAKE2b-256 | afe2245397cc064a6b96b88e33067c85db33d33cef32f54761e02db98f1a8920 |
File details
Details for the file rendermd-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: rendermd-0.6.1-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fa78fb1a6a4a01997d12095b0f8ebb97648613e4049f1a13024422b64a55b63 |
|
MD5 | 2ec54550e337bc3981f3a1eeae511aa6 |
|
BLAKE2b-256 | 1b974fe1060f9fe2a65b7ef300ad78628006c23e8cac9c2059d778dc9b782d2e |