md-split
v0.0.2
Published
simple markdown file spliter
Downloads
4
Readme
install
npm install md-split
CLI format
md-split <input-file> <output-file> [defaultTag] [default-output-file]
For Example Run this command
npx md-split README.multi.md cn README.md
suggest you have the README.multi.md with content:
<!--mds:cn-->
中文一二三
<!--mds:en-->
english one-two-three
<!--mds:cn-->
你好,世界
你好,世界1
<!--mds:en-->
hello, world
<!--mds:jp-->
ハロー ワールド
Will create three files
README.md:
中文一二三
你好,世界
你好,世界1
README.en.md
english one-two-three
hello, world
README.jp.md:
ハロー ワールド
THIS README file was created by md-split. Check out the original source file for knowing the usage.