update make_paper

use nl2br
This commit is contained in:
tildearrow 2023-09-10 12:54:02 -05:00
parent 8a1b28cc92
commit 04de8356a7

View file

@ -91,7 +91,7 @@ if __name__ == "__main__":
# each file is its own section # each file is its own section
html +='<section id="%s">%s</section>' % ( html +='<section id="%s">%s</section>' % (
my_file.replace(os.path.sep, "__"), my_file.replace(os.path.sep, "__"),
markdown.markdown(data, extensions=[GithubFlavoredMarkdownExtension()]) markdown.markdown(data, extensions=['nl2br', GithubFlavoredMarkdownExtension()])
) )
# build html # build html