Skip to content

Showing default HTML Example #27

tomgenoni opened this Issue Jan 16, 2012 · 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?

derekr commented Feb 2, 2012

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

derekr commented Mar 2, 2012

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?

derekr commented May 14, 2012

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 Jul 1, 2013
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.