html2sb
Encode HTML to Scrapbox.io style text
Usage
CLI
% npm install -g html2sb
-
% html2sb hoge.html > hoge.txt
- You can pass filename as option
-
% cat hoge.html | html2sb > hoge.txt
- You can pass markdown text via stdin
API
TBW
Development
- Require
- NodeJS
- Fork it
% git clone git@github.com:YOUR-NAME/md2sb.git
cd md2sb
git checkout -b YOUR_WORKING_BRANCH
- Write Some Code!
- Build:
% npm run build
- Watch:
% npm run watch
- Watch:
- Test:
% npm test
- Test Watching:
% npm test:watch
- Test Watching:
- Commit your work
- Open PR to this repository
🎉