jbt / docker

Documentation generator
http://jbt.github.com/docker
MIT License
234 stars 56 forks source link

SASS parsing gets confused #14

Open jbt opened 11 years ago

jbt commented 11 years ago

Highlighting with Pygments gets confused as the comment delimiter is always plonked in at 0-spaced indentation, which breaks the whitespace-dependent SASS syntax, and Pygments thinks anything from then-on is a comment. This will need to be thought through more thoroughly.

Also, /* can be used to indicate a single-line comment, so the multi-line parsing needs to be rethought slightly to take this into account.