Hi i'm using a wikipedia api for getting info from wikipedia. Is there anything for convert wiki text in html?
I've tried mediacloth but i doesn't works well
thanks
Hi i'm using a wikipedia api for getting info from wikipedia. Is there anything for convert wiki text in html?
I've tried mediacloth but i doesn't works well
thanks
Take a look at marker.
>> require 'marker'
>> m = Marker.parse "== heading ==\nparagraph with '''bold''' text"
>> puts m.to_html
<h2>heading</h2>
<p>paragraph with <b>bold</b> text</p>
Try also wikicloth http://code.google.com/p/wikicloth/ it implements some things that others haven't like tables.