[Docs] Add syntax highlighting to some code examples in the source comments.

This commit is contained in:
Chris Eppstein 2010-05-06 19:08:34 -07:00
parent c58a9b6263
commit d100cac881

View File

@ -9,22 +9,23 @@
//| -------------- //| --------------
//| //|
//| As a top-level mixin, apply to any page that includes the stylesheet: //| As a top-level mixin, apply to any page that includes the stylesheet:
//| //| <pre class="source-code sass">
//| +blueprint-ie //| +blueprint-ie
//| //| </pre>
//| Scoped by a presentational class: //| Scoped by a presentational class:
//| //| <pre class="source-code sass">
//| body.blueprint //| body.blueprint
//| +blueprint-ie(true) //| +blueprint-ie(true)
//| //| </pre>
//| Scoped by semantic selectors: //| Scoped by semantic selectors:
//| //| <pre class="source-code sass">
//| body#page-1, body#page-2, body.a-special-page-type //| body#page-1, body#page-2, body.a-special-page-type
//| +blueprint-ie(true) //| +blueprint-ie(true)
//| //| </pre>
//| **Deprecated:** You can pass the body selector as the first argument when used as a top-level mixin //| **Deprecated:** You can pass the body selector as the first argument when used as a top-level mixin
//| //| <pre class="source-code sass">
//| +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type") //| +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type")
//| </pre>
@mixin blueprint-ie($body_selector: body) { @mixin blueprint-ie($body_selector: body) {
@if $body_selector == true { @if $body_selector == true {
@include blueprint-ie-body; @include blueprint-ie-body;