COMARK1104 · error
comark/include/path-outside-root
Keep included paths under the root
An include can't read anything outside its root, so a src that climbs out with ../, or a symlink that leads out, is dropped. Otherwise a document could paste any file the build can read, such as a key in the home folder, into the page. The same goes for a base option that leaves the root.
Incorrect
:include{src="../../package.json" code} lint-comark example.mdexample.md:1:15 comark/include/path-outside-rootMove the file under the root or widen
root.✖ 1 problemCorrect
:include{src="ducks.md"} lint-comark example.md✔ No problems