Sha256: b0490247a472c97c55349d631ab2b9ebeda0e44459d0e4963a05e92ba4e028a6
Contents?: true
Size: 626 Bytes
Versions: 2
Compression:
Stored size: 626 Bytes
Contents
h2. RedCloth::Formatters::Plain Similar to HTML and Latex formatters included in RedCloth, this one allows you to convert Textile to plain text discarding the Textile syntax. h3. Dependencies This plugin only requires the "RedCloth gem":https://github.com/jgarber/redcloth. h3. Example <code> RedCloth.new("p. this is *simple* _test_").to_plain </code> will return: <code> "this is simple test" </code> h3. Example displaying URLs <code> RedCloth.new(%Q{"Please contact support":http://example.com/support}).to_plain </code> will return: <code> "Please contact support <http://example.com/support>" </code>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
red_cloth_formatters_plain-0.3.0 | README.textile |
red_cloth_formatters_plain-0.2.1 | README.textile |