1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-07-25 09:51:15 +02:00

Added table headers as GFM can't do headerless tables.

Demoted sub-headings in the gallery.
This commit is contained in:
Chris Palmer
2019-06-09 08:11:00 +01:00
parent 90bd40b6be
commit 99f46754d9
92 changed files with 435 additions and 429 deletions

View File

@@ -56,6 +56,10 @@ def gallery():
copyfile(path + '/' + file, '%s/%s.png' %(target_dir, project))
else:
line = line.replace(image, '')
else:
match = re.match(r"^(#+).*$", line)
if match:
line = '#' + line
print(line[:-1], file = output_file)
if line == '---\n':
break;