From 7eb2cec6b6c3353b485f46c1dbf74d535f115234 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 5 Apr 2019 07:59:28 +0200 Subject: first version of multi-step code highlights --- demo.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demo.html') diff --git a/demo.html b/demo.html index f88bfa2..cf05e88 100644 --- a/demo.html +++ b/demo.html @@ -241,7 +241,7 @@

Pretty Code

-

+					

 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 }
-- 
cgit v1.2.3