Update 0.4.0
Python application / build (push) Has been cancelled

- Add\Rework UI
- Add Split Table and Listing
- Add Support Customazeble schems
This commit is contained in:
Igor20264
2026-09-04 22:28:39 +03:00
parent 516abe7b83
commit b38661f588
70 changed files with 69532 additions and 413 deletions
+6 -1
View File
@@ -116,7 +116,12 @@ class ToC(Renderable):
continue
display = title.strip()
if display.upper() in SPECIAL_TITLES or display.upper().startswith("ПРИЛОЖЕНИЕ"):
# Special sections and numbered H1 → uppercase in TOC (method guide)
if (
display.upper() in SPECIAL_TITLES
or display.upper().startswith("ПРИЛОЖЕНИЕ")
or (level == 1 and numbered)
):
display = display.upper()
p.add_run(" " * (level - 1))