Pattern library

Labels

Labels can be used to display a filename associated with a code snippet.

View full screen

Details

Source (Nunjucks)

<p class="w-label">filename.js:</p>
<pre><code>console.log('hello');</code></pre>

Output

<p class="w-label">filename.js:</p>
<pre><code>console.log('hello');</code></pre>