Import of subdocuments
Provide a command (e.g. !import {filename}
) on mdtex level to allow import/use of subdocuments
The actual implementation of this parser could be rather simple and does not need to honor a dependency graph.
Different approaches are:
- Pre-pass scanning for these commands and plain replacing statement with the content of the defined file
- In-line path using the lexer and processor recursively if the statement is encountered