toto icon indicating copy to clipboard operation
toto copied to clipboard

Does the current 'rdiscount' gem support html5 tags?

Open shameerc opened this issue 13 years ago • 6 comments

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.

shameerc avatar Oct 31 '11 03:10 shameerc

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
```

ixti avatar Oct 31 '11 11:10 ixti

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

shameerc avatar Oct 31 '11 14:10 shameerc

So do I :))

ixti avatar Oct 31 '11 16:10 ixti

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 :)

shameerc avatar Nov 11 '11 18:11 shameerc

:)) 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 :))

ixti avatar Dec 12 '11 20:12 ixti

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

shameerc avatar Dec 14 '11 17:12 shameerc