Add support for triple hash alt header format

This commit is contained in:
Veronica Berglyd Olsen
2024-03-11 23:25:28 +01:00
parent 459a8e5cde
commit bdff3b4ee2
4 changed files with 13 additions and 1 deletions
+3
View File
@@ -106,6 +106,9 @@ def standardCounter(text: str) -> tuple[int, int, int]:
elif line[:4] == "##! ":
line = line[4:]
countPara = False
elif line[:5] == "###! ":
line = line[5:]
countPara = False
wCount += len(line.split())
cCount += len(line)