pilaf / html2wiki

Simple HTML to MediaWiki markup converter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML2Wiki

Simple HTML to MediaWiki markup converter.

So far it only has support for basic tags (p, h1-6, a, b, i, ul, ol, br) as I wrote this to rescue contents from an old wiki for which I only had HTML backups and that was all I needed, but adding support for tables and other fancy stuff should be fairly easy.

Installation

Add this line to your application's Gemfile:

gem 'html2wiki'

And then execute:

$ bundle

Or install it yourself as:

$ gem install html2wiki

Usage

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Simple HTML to MediaWiki markup converter.

License:MIT License


Languages

Language:Ruby 100.0%