From 42cf18edb33209f75b7caf62f02f548269387dd9 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 14 May 2018 09:51:57 +0300 Subject: [PATCH] fix: fix prism lang dependencies, fixes #467 --- src/utils/highlight.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/highlight.ts b/src/utils/highlight.ts index 72fca3f1..21b43417 100644 --- a/src/utils/highlight.ts +++ b/src/utils/highlight.ts @@ -1,4 +1,5 @@ import * as Prism from 'prismjs'; +import 'prismjs/components/prism-clike.js'; import 'prismjs/components/prism-bash.js'; import 'prismjs/components/prism-c.js'; import 'prismjs/components/prism-coffeescript.js'; @@ -10,6 +11,7 @@ import 'prismjs/components/prism-lua.js'; import 'prismjs/components/prism-markup.js'; // xml import 'prismjs/components/prism-objectivec.js'; import 'prismjs/components/prism-perl.js'; +import 'prismjs/components/prism-markup-templating.js'; // dep of php import 'prismjs/components/prism-php.js'; import 'prismjs/components/prism-python.js'; import 'prismjs/components/prism-ruby.js';