Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions generator/_scripts/cfdoc_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,10 @@ def include_snippet(parameters, config):
if line.find("#[%-%]") == 0:
skip_block = True
continue
# org-mode src markers are just delimiters, not content. Skip them so they
# don't trip the in_documentation toggle below and open an empty code block.
if line.startswith("#+begin_src") or line.startswith("#+end_src"):
continue
# #@ interrupts code block, interpret documentation in example code
if line.find("#@ ") == 0:
line = line[3:]
Expand Down
Loading