It has been moved scrapbox-converter
mono-repo and this repo is archived.
Encode Markdown to Scrapbox.io style text
Sample Text(Ja) to https://scrapbox.io/pastak-pub/md2sb%20Sample
(This sample text is from http://qiita.com/salchu/items/da81122ed50b35feda4d (Revision))
% yarn global add md2sb
- I recommend yarn but you can use
npm
.
- I recommend yarn but you can use
% md2sb hoge.md > hoge.txt
- You can pass filename as option
% cat hoge.md | md2sb > hoge.txt
- You can pass markdown text via stdin
TBW
- Require
- NodeJS
- yarn
- Fork it
% git clone git@github.com:YOUR-NAME/md2sb.git
cd md2sb
git checkout -b YOUR_WORKING_BRANCH
- Write Some Code!
- Build:
% yarn run build
- Watch:
% yarn run watch
- Watch:
- Test:
% yarn test
- Test Watching:
% yarn test:watch
- Test Watching:
- Commit your work
- Open PR to this repository 🎉