0.0
No commit activity in last 3 years
No release in over 3 years
Convert Markdown to Wiki format
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 10.0
~> 3.0
 Project Readme

Markdown2Wiki

Gem Version

A simple Monkey patch of String to convert Markdown to Wiki.

Instalation

Add this line to your application's Gemfile:

gem 'markdown2wiki'

And then execute:

$ bundle

Or install it yourself as:

$ gem install markdown2wiki

Usage

require "markdown2wiki"

markdown = "Hello, [Markdown2Wiki](https://github.com/madeindjs/markdown2wiki) is ~good~ **anwesome** *(and it's written in `Ruby`)*."
puts markdown.markdown_to_wiki
# => Hello, "Markdown2Wiki":https://github.com/madeindjs/markdown2wiki is -good- *anwesome* _(and it's written in @Ruby@)_.

Know bug

Markdown2wiki will try t convert markdown tag in code tag. Don't hesitate to pull request on this bug.

TODO

  • Add command line tool