From 841980a10cfd3ce95c9f858d26b7ae038bd676ee Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Sun, 2 Apr 2023 11:40:58 +0200 Subject: [PATCH] bringing a-console and shiki locally to better support offline mode --- index.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index ae39f8b..f9939cd 100644 --- a/index.html +++ b/index.html @@ -5,17 +5,15 @@ - + - - - - + + @@ -2177,6 +2175,7 @@ function addAllPrimitives(){ } var highlighter +shiki.setCDN('../content/shiki/') // see https://github.com/shikijs/shiki#specify-a-custom-root-directory shiki.getHighlighter({ theme: 'monokai', langs: ['javascript' ] }).then(h => highlighter = h ) // see https://github.com/shikijs/shiki/blob/main/docs/languages.md