bhollis / maruku

A pure-Ruby Markdown-superset interpreter (Official Repo).
MIT License
500 stars 80 forks source link

Error generating YARDoc #69

Closed sferik closed 11 years ago

sferik commented 11 years ago

Gist of the error with --trace: https://gist.github.com/2e9fe71786b638963fa4

To reproduce:

git clone https://github.com/sferik/twitter.git
bundle install
bundle exec rake yard

It does not error if I replace maruku with redcarpet in the gemspec, but I would prefer to use a pure Ruby implementation.

bhollis commented 11 years ago

Hi @sferik, sorry I haven't gotten to this yet - I'm working my way through Maruku bugs but there's a lot to do. I've marked this as "Needs Test" because I still need to reproduce it - your gist link is just the error, not the repro case.

For more info on what's up with Maruku: http://benhollis.net/blog/2013/01/22/i-own-maruku-now/

sferik commented 11 years ago

Oops, I pasted the wrong URL to reproduce. It should be:

git clone https://github.com/sferik/twitter.git
bhollis commented 11 years ago

OK, I figured out the problem - Maruku is (violently) failing to parse backtick-style fenced code blocks. The easiest fix here is actually to support backtick fenced code blocks, but since that's a new feature I might want to wait until 1.0 to release it. In the meantime I'll make sure maruku doesn't blow up on that, even if it isn't pretty.

bhollis commented 11 years ago

OK, master is fixed up so it won't blow up, and 1.0 will correctly support backtick fenced code blocks.