1.1.0 • Published 5 years ago
@matthewdutzi/mergemd v1.1.0
Installation
Install from npm/yarn
$ npm install -g @matthewdutzi/mergemdor
$ yarn global add @matthewdutzi/mergemdto install globally.
Clone to local
Clone this repo, cd into it, and then run
$ npm linkUsage
This package will merge all the files in a directory into one file called merged.md or merged.mdx.
It now works for markdown files, but should really work for plain text and code files.
Provide directory
$ merge path/to/directoryThis merges all the files in path/to/directory.
Don't know what directory you want? Try running $ pwd inside the folder you want.
No provided directory
$ mergeThis merges all the files in the directory where this command is run.
Options
$ merge -mdxThis changes output file extension from '.md' to '.mdx'
$ merge -no-file-infoThis disables file info comments of merged files in output file
License
Copyright 2017 Mandy Chen
Licensed under MIT
1.1.0
5 years ago