more succinct syntax for code block line highlights
This commit is contained in:
parent
5adc2032c0
commit
8690858b6f
4 changed files with 11 additions and 18 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue