jgrassler / mkdocs-pandoc

[unmaintained] mkdocs -> pandoc converter: use this fork https://github.com/twardoch/mkdocs-combine
Apache License 2.0
107 stars 39 forks source link

Good idea to add a page break between each page? #16

Closed yuliswe closed 8 years ago

yuliswe commented 8 years ago

In pandoc_converter.py, change this

        # Add an empty line between pages to prevent text from a previous
        # file from butting up against headers in a subsequent file.
        lines.append('')

to this

        # Add an empty line between pages to prevent text from a previous
        # file from butting up against headers in a subsequent file.
        lines.append('')
        lines.append('\\newpage')
        lines.append('')

Can this be an option for the cli?