diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-04-05 07:59:28 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-04-05 07:59:35 +0200 |
commit | 7eb2cec6b6c3353b485f46c1dbf74d535f115234 (patch) | |
tree | cfd68183d64517c5010ee4be715c3d28a3f2be76 /demo.html | |
parent | c636b88b2d418a4ecb7659cc9a2e1a2006392055 (diff) | |
download | fosdem-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.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |