项目作者: ayumitamai97

项目描述 :
Convert markdown syntax to scrapbox syntax
高级语言: Ruby
项目地址: git://github.com/ayumitamai97/markdown-to-scrapbox.git
创建时间: 2018-12-09T12:59:45Z
项目社区:https://github.com/ayumitamai97/markdown-to-scrapbox

开源协议:MIT License

下载


markdown_to_scrapbox

Installation

Add this line to your application’s Gemfile:

  1. gem 'markdown_to_scrapbox'

And then execute:

  1. $ bundle

Or install it yourself as:

  1. $ gem install markdown_to_scrapbox

Usage

  1. $ bundle exec bin/markdown_to_scrapbox -i TARGET_MARKDOWN_FILE.md -o OUTPUT_FILE.txt

Options

-i, --input [required]

Indicate the target markdown file.

-o, --output [required]

Indicate the output file name.

-t, --type-of-indent [optional]

Indicate indent type from space and tab.
Default indent type is space.

  1. $ bundle exec bin/markdown_to_scrapbox -i TARGET_MARKDOWN_FILE.md -o OUTPUT_FILE.txt -t tab

-c, --count-of-indent [optional]

Indicate the number of indent from 2 and 4.
Default indent count is 2.

  1. $ bundle exec bin/markdown_to_scrapbox -i TARGET_MARKDOWN_FILE.md -o OUTPUT_FILE.txt -c 2

Any questions?

If you would like to improve this CLI app, please contact me on Twitter @a_ta_tama

License

The gem is available as open source under the terms of the MIT License.