md-processor

1.2.0 • Public • Published

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.

/md-processor/

    Package Sidebar

    Install

    npm i md-processor

    Weekly Downloads

    3

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    19 kB

    Total Files

    18

    Last publish

    Collaborators

    • bergos