0.0.2 • Published 2 years ago
md-split v0.0.2
install
npm install md-splitCLI format
md-split <input-file> <output-file> [defaultTag] [default-output-file]For Example Run this command
npx md-split README.multi.md cn README.mdsuggest 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:
中文一二三
你好,世界
你好,世界1README.en.md
english one-two-three
hello, worldREADME.jp.md:
ハロー ワールドTHIS README file was created by md-split. Check out the original source file for knowing the usage.