MD-Environ
This is an extension to Python-Markdown which allows environment variables to be inserted into the text. I originally wrote it for my FORD Fortran auto-documentation generator.
Installation
This module can now be installed using pip.
pip install md-environ
Usage
This module can be used in a program in the following way:
import markdown
html = markdown.markdown(source, extensions=['md_environ.environ])
The syntax for use within your Markdown files is ${ENVIRONMENT_VARIABLE}. This statement will be replaced by the contents of ENVIRONMENT_VARIABLE, if it is defined, or by an empty string otherwise.
ChangeLog
Version 0.1
Initial release.
Metadata
Release files for md-environ 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| md-environ-0.1.0.tar.gz | 3.1 kB | Details |
Release files / md-environ-0.1.0.tar.gz
| Download URL | md-environ-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe3c2a255af523d6f522831c699336cd71f9d543714067d93206ed35836f1793
|
|
BLAKE2b-256 checksum How to use checksums |
68a986666edbf0d3929d5b3be3347c153881139aa1e28af38f6496edcc034003
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |