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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user