Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

pastak/md2sb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

It has been moved scrapbox-converter mono-repo and this repo is archived.

md2sb

Encode Markdown to Scrapbox.io style text

Sample Result

Sample Text(Ja) to https://scrapbox.io/pastak-pub/md2sb%20Sample

(This sample text is from http://qiita.com/salchu/items/da81122ed50b35feda4d (Revision))

Usage

CLI

  • % yarn global add md2sb
    • I recommend yarn but you can use npm.
  • % md2sb hoge.md > hoge.txt
    • You can pass filename as option
  • % cat hoge.md | md2sb > hoge.txt
    • You can pass markdown text via stdin

API

TBW

Development

  • Require
    • NodeJS
    • yarn
  1. Fork it
  2. % git clone git@github.com:YOUR-NAME/md2sb.git
  3. cd md2sb
  4. git checkout -b YOUR_WORKING_BRANCH
  5. Write Some Code!
  • Build: % yarn run build
    • Watch: % yarn run watch
  • Test: % yarn test
    • Test Watching: % yarn test:watch
  1. Commit your work
  2. Open PR to this repository 🎉