1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-31 16:57:08 +00:00

Transition to Python script for HTML generation, also correcting pandoc theme issue

This commit is contained in:
Robin Stuart
2022-07-19 17:11:33 +01:00
parent bc0c745a93
commit 415bce003f
4 changed files with 10 additions and 231 deletions

View File

@@ -1,3 +1,10 @@
# This script takes the output from pandoc and converts it into the format needed by
# the website at Zint.org.uk
#
# Warning: This code is ugly... but it saves days of manual effort updating the website.
#
# Copyright (C) 2022 <rstuart114@gmail.com>
# Works out which tags should influence indentation and puts them on their own line
def isolate_tag(tag):
global stage