Skip to main content

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)

Source distribution for md-environ 0.1.0
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page