aboutsummaryrefslogtreecommitdiff
path: root/demo.html
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-04-05 07:59:28 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2019-04-05 07:59:35 +0200
commit7eb2cec6b6c3353b485f46c1dbf74d535f115234 (patch)
treecfd68183d64517c5010ee4be715c3d28a3f2be76 /demo.html
parentc636b88b2d418a4ecb7659cc9a2e1a2006392055 (diff)
downloadfosdem-2021-minimalism-presentation-7eb2cec6b6c3353b485f46c1dbf74d535f115234.tar
fosdem-2021-minimalism-presentation-7eb2cec6b6c3353b485f46c1dbf74d535f115234.tar.gz
first version of multi-step code highlights
Diffstat (limited to 'demo.html')
-rw-r--r--demo.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo.html b/demo.html
index f88bfa2..cf05e88 100644
--- a/demo.html
+++ b/demo.html
@@ -241,7 +241,7 @@
<section>
<h2>Pretty Code</h2>
- <pre><code class="hljs" data-trim data-line-numbers="4,8-11">
+ <pre><code class="hljs" data-trim data-line-numbers="4|9|4,8-11">
import React, { useState } from 'react';
function Example() {
@@ -412,7 +412,7 @@ Reveal.addEventListener( 'customevent', function() {
dependencies: [
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: 'plugin/highlight/highlight.js', async: true },
+ { src: 'plugin/highlight/highlight.js' },
{ src: 'plugin/search/search.js', async: true },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }