Extending textile

Hello,

I want to extend textile for using

tags just like

es

I mean I want to do something like that:

div(css-class). and this is content

Please let me know if you know some workaround.

Why not just do

? Textile will ignore the
tag.

Sean

I can do that but not everyone can do… I need to simplify it

I can do with %(css-class) what I want but It really would be better off
the
way I asked…

btw, looks like brand new RedCloth baked:
http://hackety.org/2008/03/20/jasonGarberFinishesSuperRedClothForMe.html

is there a way we can do it? coz although I am no expert I reviewed the
code
and I could include what I want atm

http://github.com/jgarber/redcloth/tree/master/lib/formatters/html.rb

thank you…

well, i achieved what i want :))

i followed the steps sean and jason pointed

config.load_paths.unshift “/path/to/gems/RedCloth-3.2.9.0/lib”

http://lists.radiantcms.org/pipermail/radiant/2008-April/008358.html

plus line breaks also work charmly now

i use redcloth 3.301,

3.302 gives error:

$ ./script/console
Loading development environment (Rails 2.0.2)
irb: symbol lookup error:
/usr/lib/ruby/gems/1.8/gems/RedCloth-3.302/lib/redcloth_scan.so:
undefined
symbol: red_block

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs