Esc

COMARK1113 · warning

comark/include/open-block-in-partial

Close a partial's :: blocks inside it

A partial that opens a :: block and never closes it would take in the rest of the page, so comark-include closes it at the end of the paste and reports it. Close the block in the partial instead of relying on that. Here tour.md opens ::carousel without its closing ::, and tour-closed.md has it.

Incorrect

:include{src="tour.md"}
md
lint-comark example.mdexample.md:1:15 comark/include/open-block-in-partialinclude "tour.md": tour.md leaves ::carousel open, so it was closed at the end of the include.Close it in the partial.✖ 1 problem

Correct

:include{src="tour-closed.md"}
md
lint-comark example.md✔ No problems