md-processor
v1.2.0
Published
A preprocessor for markdown files
Downloads
2
Readme
md-processor
A preprocessor for markdown files.
Usage
You can run md-processor
with npx
like shown below:
nxp md-processor input.md > output.md
Features
Imports
Sections of other markdown files can be imported like this:
@[import{section,deep,depth=x}](filename)
section
: The full header of the section to import.deep
: If given, the nested blocks will be imported.depth
: Change the level of the headers by addingx
.x
can be positive or negative.filename
: The path to the markdown file to import. The path is relative to the input file.