Skip to content

Python Markdown extension which adds Jinja2 support

License

Notifications You must be signed in to change notification settings

tobiasah/markdown-jinja

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown_jinja

This extension to Python-Markdown enables to use Jinja2 markup in markdown documents.

Installation

This module can installed using pip:

$ pip install markdown-jinja

Usage

JinjaMarkdown can be passed as a standard extension to Python-Markdown:

import markdown
from markdown_jinja import JinjaMarkdown
html = markdown.markdown(text, extensions=[JinjaMarkdown(context_file='path/to/context.json')])

About

Python Markdown extension which adds Jinja2 support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%