HTML formatter option: line_numbers / highlight_lines

This commit is contained in:
2024-08-09 14:00:42 -03:00
parent d0c2b1764a
commit f98f44365f
5 changed files with 15 additions and 6 deletions

View File

@ -8,7 +8,7 @@ def abbr(line):
return "".join(c for c in line if c in string.ascii_uppercase).lower()
abbrevs = {}
tokens = set([])
tokens = {"Highlight"}
for line in sys.stdin:
if "<token" not in line:
continue