rtomayko / rocco

Rocco is Docco in Ruby
MIT License
404 stars 80 forks source link

Can't specify comments? #85

Closed thepixelmonk closed 12 years ago

thepixelmonk commented 12 years ago

I'm trying to use rocco for haskell, but the resulting page is just blank.

Here's my simple file:

-- foo
main = putStrLn "bar"

when running rocco and specifying "--" as the comment chars, all I get is a blank page (with myfile.hs at the top). If I don't specify the comments, and replace "--" with "#" in the source code, it works fine.

yumitsu commented 12 years ago

Did you tried to specify source language explicitly?

thepixelmonk commented 12 years ago

yes I have. does it work for you with the sample file above and specifying haskell?

U-238 commented 12 years ago

I just open a pull request fixing this issue: https://github.com/rtomayko/rocco/pull/90

Just pull from there so you can start using rocco for haskell. Hope this solves it for you.