</div>
<h2 id="numbered-and-highlighted-lines">Numbered and highlighted lines</h2>
<p>Pandoc Markdown also supports attaching line numbers to a code block, plain or with syntax highlighting using the <code>.numberLines</code> CSS class:</p>
<pre><code>```{.ruby .numberLines}
def greet; &quot;Hello, world!&quot;; end
```</code></pre>
<div class="sourceCode" id="cb12"><pre class="sourceCode numberSource ruby numberLines"><code class="sourceCode ruby"><span id="cb12-1"><a href="#cb12-1"></a><span class="cf">de