From 8a66b31197abfb51a11cbd3a49f3ab03db2a455f Mon Sep 17 00:00:00 2001 From: Wolfgang Nowak Date: Fri, 16 Sep 2022 09:42:09 +0200 Subject: [PATCH] webgen v4.0.8 Added Style for HR-Tags, reformatted --- webgen.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webgen.py b/webgen.py index f0baac1..13a58a3 100755 --- a/webgen.py +++ b/webgen.py @@ -24,14 +24,14 @@ spellcheck = "aspell" spellcheckparam = "-c" # Configure Markdown, activate "break-on-newline" for letting a line end without havin to put doublespaces there. -# -# More options: +# +# 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, +# markdown-in-html, numbering, pyshell, smarty-pants, spoiler, strike, # tag-friendly, tables, toc, use-file-vars, wiki-tables, xml -markdown.Markdown.extras = ["footnotes","break-on-newline"] +markdown.Markdown.extras = ["footnotes", "break-on-newline"] fileending = "" locale.setlocale(locale.LC_ALL, "") @@ -153,7 +153,7 @@ def mkdirindex(filesdir, indexfilename, filesdirheadline): body1 = 'Back


' body1 += '
Some files. Maybe useful or not.
' body1 += '' - foot = "

You can't avoid chaos.

\n" + foot = '
You can\'t avoid chaos.

\n' linecounter = 0 dirindexfile = open(filesdir + indexfilename, "w") @@ -261,7 +261,7 @@ head1 = ( style_fn = '' head2 = "\n" body1 = 'Back
Moin

' -foot = "

\n" +foot = '

\n' # write beginning of html-file html_out_file.write(head1 + style_fn + head2 + body1)