mdmerge 1.1.0+1 copy "mdmerge: ^1.1.0+1" to clipboard
mdmerge: ^1.1.0+1 copied to clipboard

Use placeholders in markdown files to include other markdown, text or source files.

example/example.md

Installation #

Activate:

dart pub global activate mdmerge

Placeholders #

Add these placeholders to markdown files, the comment tags require three (!) dashes:

# Markdown file 

## Include Markdown file

<include file="child.md"></include>

## Include dart file

<include file="lib/mdmerge.dart"></include>

Run #

Dry-run is on per default, will run simulation only:

dart pub global run mdmerge include --input <DIR> 

Write to output directory:

dart pub global run mdmerge include --input <DIR> --output <DIR> --no-dry-run

Overwrite source files (potentially destructive, make a backup):

dart pub global run mdmerge include --input <DIR> --no-dry-run
1
likes
150
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

Use placeholders in markdown files to include other markdown, text or source files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args

More

Packages that depend on mdmerge