0.0.1 • Published 7 months ago
markdoc-tool v0.0.1
Markdoc
Install
1. Add package
yarn add markdoc-tool
2. Create a .markdoc.yaml
in the root of the project
inputDir: "./content"
outputFile: "./dist/merged.md"
splitDir: "./content/split"
3. Create a structure' with your own structure.yaml
structure:
- "content/intro.md"
- "content/chapter1.md"
- "content/chapter2.md"
4. Run the commands:
4.1 Assembly
yarn markdoc merge
4.2 Breakdown
yarn markdoc split
0.0.1
7 months ago