A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cmacmackin/md-environ below:

cmacmackin/md-environ: Python-Markdown extension to use environment variables

#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.

##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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4