COMARK1106 · warning
comark/include/include-cycle
Don't let a file include itself
A file that includes itself, directly or through other files, would paste forever. The include that closes the loop is dropped, and the rest of the file is pasted once. Here loop.md ends with :include{src="loop.md"}.
Incorrect
:include{src="loop.md"} lint-comark example.mdexample.md:1:15 comark/include/include-cycleRemove one of the includes.✖ 1 problem
Correct
:include{src="ducks.md"} lint-comark example.md✔ No problems