Skip to content

bergos/md-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md-processor

build status npm version

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 adding x. x can be positive or negative.
  • filename: The path to the markdown file to import. The path is relative to the input file.

About

A preprocessor for markdown files

Resources

License

Stars

Watchers

Forks

Packages

No packages published