Skip to content

patriknordlen/python-docx-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-docx-template

This forked version adds Markdown support! Currently supported features are:

  • Bullet lists
  • Code blocks (single backticks and triple backticks)
  • Headings (four levels)
  • Bold text
  • Italic text

In order to have code blocks and headings work, the docx template currently needs pre-patching so that the required styles exist in it. A tool for patching a docx file with custom styles as well as a styles.xml file that can be used right away are available in the util/ directory.

About

Use a docx as a jinja2 template - fork includes Markdown support

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%