From 8f7004ad0844c9b021cd04c7eaa1675e1fb7c98e Mon Sep 17 00:00:00 2001 From: Wolfgang Nowak Date: Mon, 12 Sep 2022 13:13:21 +0200 Subject: [PATCH] webgen v4.0.6 Changed parameters for markdown to have a standard lineending --- webgen.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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"