From 83a0216daffa630f5702dacc9678309bad5b010b Mon Sep 17 00:00:00 2001 From: Kostas Chatzikokolakis Date: Thu, 12 Sep 2019 17:49:16 +0300 Subject: [PATCH] Disable highlight.js for code processed by Hugo's hl --- layouts/partials/reveal-hugo/slides.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/reveal-hugo/slides.html b/layouts/partials/reveal-hugo/slides.html index ac54247..d1157b2 100644 --- a/layouts/partials/reveal-hugo/slides.html +++ b/layouts/partials/reveal-hugo/slides.html @@ -4,6 +4,9 @@ {{- if ne (len .Content) 0 -}} {{- $content := replace .Content "
\n\n
" "
" -}} + + + {{- $content := replaceRE ` (blackfriday) and
(mmark) --> {{- $content := replace $content "
" "
" -}}