<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"
}
pre > code {
@extend %monospace-font-regular;
display: block;
margin-bottom: $spacer-base;
border-right: 2px solid $code-snippet-border-color;
background-color: $code-background-color;
padding: $spacer-xs $spacer-xs $spacer-xs $spacer-md;
overflow: auto;
line-height: $code-snippet-line-height-small;
font-size: $code-snippet-font-size-small;
}
@media screen and (min-width: $grid-breakpoint-md) {
pre > code {
line-height: $code-snippet-line-height;
font-size: $code-snippet-font-size;
}
}
There are no notes for this item.