<code class="code-block">function ( param ) {
  var foo &#x3D; param;
  doSomething( foo );
}
</code>
<code class="code-block">{{ code }}</code>
{
  "code": "function ( param ) {\n  var foo = param;\n  doSomething( foo );\n}\n"
}
  • Content:
    code.code-block {
      display: block;
      white-space: pre;
      padding: 1em;
    }
    
  • URL: /components/raw/code-block/_sass.scss
  • Filesystem Path: components/02-modules/text/code-block/_sass.scss
  • Size: 74 Bytes

A block of source code.