skip editblocks

This commit is contained in:
Paul Gauthier 2024-08-22 08:38:54 -07:00
parent f8a1db5318
commit 1d6bdfce80

View file

@ -28,6 +28,9 @@ def process_markdown(filename):
# Get the content (everything after the header) # Get the content (everything after the header)
content = "\n".join(section.split("\n")[1:]).strip() content = "\n".join(section.split("\n")[1:]).strip()
if "editblock" in content:
continue
for fence in all_fences: for fence in all_fences:
if "\n" + fence[0] in content: if "\n" + fence[0] in content:
break break