Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Showing default HTML Example #27

tomgenoni opened this Issue · 5 comments

4 participants


The screenshot example of the KSS shows the default HTML appearing after the modifiers. It doesn't appear that is showing up by default, at least not in my build. Is there a way to enable this?


I believe the sample project isn't the same as the screenshot. The sample project seems pretty stripped down.


I misread this issue initially. If you want to print out the sample it's just a matter of rendering @example_html in code and pre tags.


Where does the @example_html variable come from? Is it part of the documentation block?


It comes from the call to styleguide_block here

Whatever html is provided in that template block will be turned in to @example_html when the partial is rendered.


The example is a cut down edition, there isn't a way to get this for free. (Check kss-rails or nkss-rails for some sweet rails "styleguide almost for free" action)

@benschwarz benschwarz closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.