Ever wondered how to DRY (Don’t Repeat Yourself) in a
README.md file? Or generate contents in any Markdown file? As it turns out, it’s quite simple.
Create a Markdown file as usual. Then in the places where you want to have generated contents, put:
First, install the mmarkdown npm package as a devDependency.
As part of your build process, run
mmarkdown. In the simplest case, it can be a separate
npm script. Also include the configuration in