Code

<pre><code>pick(:love) do |something|
    n.times do
        result = play(something)
        result.publish
    end
end
</code></pre>
import { safe, htmlEncode } from "complate-stream";

<pre><code>{safe(htmlEncode(context.code))}</code></pre>
{
  "code": "pick(:love) do |something|\n    n.times do\n        result = play(something)\n        result.publish\n    end\nend\n"
}
  • Content:
    pre > code {
      @extend %monospace-font-regular;
    
      display: block;
      margin-bottom: $spacer-base;
      background-color: $code-background-color;
      padding: $spacer-xs $spacer-xs $spacer-xs $spacer-md;
      overflow: auto;
      line-height: $paragraph-line-height;
      font-size: $font-size-xs;
    }
    
  • URL: /components/raw/code/_code.scss
  • Filesystem Path: components/01-atoms/text/block/code/_code.scss
  • Size: 285 Bytes

No notes defined.