Convert Markdown to Pukiwiki-notation
Add this line to your application's Gemfile:
gem 'md2pukiwiki'
And then execute:
$ bundle
Or install it yourself as:
$ gem install md2pukiwiki
$ md2pukiwiki <filename>
Conversion result will be written to the standard output.
$ cat sample.md
# header
* list1
* l**is**t2
* list2.1
## subheader
1. nlist1
2. nl*is*t2
1. nlist2.1
$ md2pukiwiki sample.md > sample.txt
$ cat sample.txt
*header
- list1
- l''is''t2
-- list2.1
**subheader
+ nlist1
+ nl'''is'''t2
++ nlist2.1
- Fork it ( https://github.com/dtan4/md2pukiwiki/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request