Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 554 Bytes

.README.template.md

File metadata and controls

28 lines (15 loc) · 554 Bytes

shrtcodes

example workflow name

pip install shrtcodes

Shortcodes for Python.

Example:

A toy example.

Define our shortcodes:

{% embed_file example.py syntax=py %}

{% execute_python example.py --help %}

Write some text:

{% embed_file example.txt %}

Process the text:

{% execute_python example.py example.txt %}

A more useful example would be the generation of this README itself. See make_readme.py and .README.template.md.