redcloth icon indicating copy to clipboard operation
redcloth copied to clipboard

RedCloth is a Ruby library for converting Textile into HTML.

Results 28 redcloth issues
Sort by recently updated
recently updated
newest added

According to the [Textile images spec](https://textile-lang.com/doc/images), images can be right or left aligned, or centred: ``` !>/carver.png! ! RedCloth.new( '!>/carver.png!' ).to_html => "" irb(main):067:0> RedCloth.new( '!/carver.png!' ).to_html => "Hello" ```...

Hi, is there any way to only parse certain tags, for example if I want to only parse `bc..`: Given an input string: `text = "h5. My Header\r\n\r\nbc.. Hello world\r\n\r\np....

In our application we accept HTML template codes in Email templates, when we try to convert them to html using RedCloth, It converts HTML template code open close `%` symbol...

In RedCloth 3.0.4 something like: ``` text2 = %[|_.a|_.b|_.c| {background:rgb(240,245,250);color:red}. |a|red|row|] puts RedCloth.new(text).to_html() ``` Produces: ``` a b c a red row ``` But with `4.3.2` results in: ``` a...

markdown supports syntax highlighting: https://spec.commonmark.org/0.28/#example-111 example: ~~~sh #!/bin/sh echo 'hello world' ~~~ result: ~~~sh #!/bin/sh echo 'hello world' ~~~ i see textile offers block code: https://promptworks.com/textile/html-integration-and-escapement#block-code but i do not...

``` 2.4.1 :003 > RedCloth.new("", [:filter_html]).to_html => "<div>" 2.4.1 :004 > RedCloth.new("", [:filter_html]).to_html => "<pre>" 2.4.1 :005 > RedCloth.new("", [:filter_html]).to_html => "<body>" 2.4.1 :006 > RedCloth.new("", [:filter_html]).to_html => "<i>" 2.4.1...

Hi, We stumbled upon an issue in our app where the html generated by RedCloth needs to be SEO friendly. For example we need the `rel="nofollow"` or `target="_blank"`. Do you...

``` A.. B ``` Will generate ``` A.. A.. B ``` You could try this on website http://redcloth.org/.

I get the following error: ``` >> RedCloth.new("#2160431456 The lazy Dogs" ).to_html RangeError Exception: bignum too big to convert into `long' ``` Is there a way to ignore the hash...

Currently if you follow some emphasised text with an apostrophe it breaks the formatting e.g. `_Chinatown_'s`. We need to be able to have a film title in italics, and then...