cloudhead / toto

the 10 second blog-engine for hackers
MIT License
1.48k stars 245 forks source link

Does the current 'rdiscount' gem support html5 tags? #105

Open shameerc opened 12 years ago

shameerc commented 12 years ago

It seems current rdiscount gem doesn't support html5 tags. Is there any other options to customize it? Now I am using 'redcarpet' for markdown.

ixti commented 12 years ago

RDiscount still have some problms with HTML5: https://github.com/rtomayko/rdiscount/issues/21 Anyway, personally I prefer redcarpet - it provides more interersting things like:

``` ruby
# github flavoured markup
shameerc commented 12 years ago

I think we should be using redcarpet instead of RDiscount. :)

ixti commented 12 years ago

So do I :))

shameerc commented 12 years ago

I have made some updates, changed to redcarpet, added categories and tagcloud methods in core. If you dont mind, could you please take a look into it? (I am a ruby newbie and learning it on the fly :)

ixti commented 12 years ago

:)) I have these changes made for myself as well long ago: https://github.com/ixti/toto If you will send me an URL - I will review your code, no problem :))

shameerc commented 12 years ago

https://github.com/shameerc/toto/blob/master/lib/toto.rb I have pushed latest changes here. please let me know your suggestions . :) Thanks