diff --git a/webgen.py b/webgen.py index 865505e..b9efc33 100755 --- a/webgen.py +++ b/webgen.py @@ -23,6 +23,16 @@ dospellcheck = os.getenv("SPELLCHECK") spellcheck = "aspell" spellcheckparam = "-c" +# Configure Markdown, activate "break-on-newline" for letting a line end without havin to put doublespaces there. +# +# More options: +# break-on-newline, code-friendly, cuddled-lists, fenced-code-blocks, +# footnotes, header-ids, highlightjs-lang, html-classes, link-patterns, +# markdown-in-html, numbering, pyshell, smarty-pants, spoiler, strike, +# tag-friendly, tables, toc, use-file-vars, wiki-tables, xml + +markdown.Markdown.extras = ["break-on-newline"] + fileending = "" locale.setlocale(locale.LC_ALL, "") clear = "\x1b[2J\x1b[H"