more succinct syntax for code block line highlights

This commit is contained in:
Hakim El Hattab committed 2019-03-11 15:48:03 +01:00
1 parent 5adc2032c0
commit 8690858b6f
4 files changed
+11 -18

No files matched your search

+1 -1
View File
@@ -234,7 +234,7 @@
<section>
<h2>Pretty Code</h2>
<pre><code class="hljs line-numbers" data-trim data-highlight-lines="4,8-9">
<pre><code class="hljs" data-trim data-line-numbers="4,8-9">
import React, { useState } from 'react';
function Example() {