From b064fee52c2cbbede69cb252804c0aede43ebcc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AD=D1=80=D0=B8=D0=BA=20=D0=A1=D1=83=D0=BB=D1=82=D0=B0?= =?UTF-8?q?=D0=BD=D0=B0=D0=BB=D0=B8=D0=B5=D0=B2?= Date: Thu, 4 Oct 2018 15:33:44 +0600 Subject: [PATCH] Added line for syntax definition #960 --- v1/lib/core/renderMarkdown.js | 1 + 1 file changed, 1 insertion(+) diff --git a/v1/lib/core/renderMarkdown.js b/v1/lib/core/renderMarkdown.js index 27adace730a3..e6521d632a5e 100644 --- a/v1/lib/core/renderMarkdown.js +++ b/v1/lib/core/renderMarkdown.js @@ -27,6 +27,7 @@ class MarkdownRenderer { // This results in

       langPrefix: 'hljs css language-',
       highlight(str, lang) {
+        siteConfig.highlight && siteConfig.highlight.hljs && siteConfig.highlight.hljs(hljs);
         lang =
           lang || (siteConfig.highlight && siteConfig.highlight.defaultLang);
         if (lang === 'text') {