You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dmytro Yeroshkin 8afddb7217 Template re-org
* Re-organized template structure
* Added default novel template
1 year ago
novel_compiler Template re-org 1 year ago
.gitignore Initial commit 1 year ago
LICENSE Updated Licence and Readme 1 year ago Template re-org 1 year ago Updated Licence and Readme 1 year ago updated markdown parsing and added scene breaks 1 year ago


This is a simple python script that compiles a novel written in markdown into a Microsoft Word .docx file.

Dependencies: docxtpl, markdown, MarkdownPP, novel_stats. The first three can be installed using pip, and the last one is available at




Currently the only formatting supported is italics and bold (* and **).

A sample format is included in the distribution.

Supported arguments

  • -o [output.docx] or --output [output.docx] - the file to which the formatted novel is to be written
  • -t [template.docx] or --template [template.docx] - provide a template file
  • -s [settings.json] or --settings [settings.json] - provide a file with information to be filled into the template
  • -pp - use a preprocessor to enable multi-file novels
  • [markdown_file] - name of the novel source file