[Radiant] extending textile

nurullah nurull4h at gmail.com
Sat May 3 16:54:40 CDT 2008


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


On 5/3/08, nurullah <nurull4h at gmail.com> wrote:
>
>
> 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...
> On 5/3/08, Sean Cribbs <seancribbs at gmail.com> wrote:
> >
> > Why not just do <div class="css-class"></div>?  Textile will ignore the
> > tag.
> >
> > Sean
> >
> > nurullah wrote:
> >
> > > Hello,
> > >
> > > I want to extend textile for using <div> tags just like <p>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.
> > > _______________________________________________
> > > Radiant mailing list
> > > Post:   Radiant at radiantcms.org
> > > Search: http://radiantcms.org/mailing-list/search/
> > > Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> > >
> > >
> > >
> >
> > _______________________________________________
> > Radiant mailing list
> > Post:   Radiant at radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> >
>
>


More information about the Radiant mailing list