Sha256: 72613b6bb10b883a37cf33a16d71a4252fd0398006146b25927bc8cb6b8d653e

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 KB

Contents

---
title: Webgen::ContentProcessor::RedCloth
---
## Description

This processor converts the content, which is assumed to be in Textile markup, to HTML by using the
RedCloth library. For detailed information about Textile have a look at the [Textile Reference][1]!

> This extension is only available if you have installed the [redcloth][2] library. The preferred
> way to do this is via Rubygems:
>
>     gem install RedCloth
{:.warning}

You can use the configuration option `contentprocessor.redcloth.hard_breaks` to enable/disable the
conversion of single newlines into HTML break tags.

Example
-------

Here is a short sample of a text in Textile markup:

    h1(#myid). This a h1 header

    You can just write *your* paragraphs here and
    "link":http://someurl.com them below. This is also a
    **nice** format!

    <blockquote class='information>
    Citations are easy too.
    Really. And you can assign them attributes.
    </blockquote>

    * Lists
    * aren't
    * difficult
    * either.


[1]: http://hobix.com/textile/
[2]: http://whytheluckystiff.net/ruby/redcloth/

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
webgen-0.5.17 doc/contentprocessor/redcloth.page
webgen-0.5.15 doc/contentprocessor/redcloth.page
webgen-0.5.14 doc/contentprocessor/redcloth.page
webgen-0.5.13 doc/contentprocessor/redcloth.page
webgen-0.5.12 doc/contentprocessor/redcloth.page
webgen-0.5.11 doc/contentprocessor/redcloth.page