janrain / raml-fleece

Tool for converting RAML to HTML documentation
MIT License
9 stars 2 forks source link

Code highlighting is now more automatic. #36

Closed tcmitche closed 8 years ago

tcmitche commented 8 years ago

Added a "blacklist" of content types that should not have highlighting applied, currently only text/plain. This may become configurable in the future. Also removed the JSON parse error template, this can be handled by a tool other than raml-fleece.

pearcedavis commented 8 years ago

One effect of these changes is that json is no longer "prettified" i.e. 1-liner json examples are not expanded -- is this intentional?

pearcedavis commented 8 years ago

:shipit:

tcmitche commented 8 years ago

@pdedmon Yeah, trying to move the parsing/validation of the code blocks out of the responsibility umbrella of raml-fleece.

rdenmark commented 8 years ago

:+1: