includeResource

.includeResource context:{Context} reader:{Reader} -> Node

Includes the parsed content of the given raw Quarkdown code, read by reader, in the current document. The context of the main file is shared, allowing for sharing of variables, functions and other declarations.

Return

the content of the file as a node

Parameters

context

main context to share

reader

reader of the raw Quarkdown source to include