Skip to content

Commit 0b09a19

Browse files
author
Peter Amstutz
committed
Makedoc detects any ``` for toggling looking for # for section headings.
1 parent d361b6c commit 0b09a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema_salad/makedoc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def number_headings(toc, maindoc):
119119
toc.start_numbering = True
120120
toc.numbering = [0]
121121

122-
if line == "```":
122+
if "```" in line:
123123
skip = not skip
124124

125125
if not skip:

0 commit comments

Comments
 (0)