= TracWiki =
TracWiki is a TracWiki-to-HTML converter for Trac wiki, http://trac.edgewall.org/wiki/WikiFormatting.
Project page on github:
* http://github.com/vitstradal/trac-wiki
== INSTALLATION ==
gem install trac-wiki
== SYNOPSIS ==
require 'trac-wiki'
html = TracWiki.render('== TracWiki text ==')
# or
html = TracWiki.render('== TracWiki text ==', options)
parser = TracWiki.parser(options)
parser.to_html(text1)
parser.to_html(text2)
== Options ==
* `allowed_schemes`
Allowed url schemes
Examples: http https ftp ftps
* `base`
base URL (or URI), for link and images
* `no_escape`
Disable url escaping for local links
Escaping: [[/Test]] --> %2FTest
No escaping: [[/Test]] --> Test
* `no_link`
Disable url escaping for local links
`[[whatwerver]]` stays `[[whatwerver]]`
* `math`
math syntax extension:
$e^x$ for inline math,
$$ e^x $$ for display math
* `allow_html`
allow some