Skip to content

Commit

Permalink
Added line for syntax definition facebook#960
Browse files Browse the repository at this point in the history
  • Loading branch information
Эрик Султаналиев committed Oct 4, 2018
1 parent a364aa5 commit b064fee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v1/lib/core/renderMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class MarkdownRenderer {
// This results in <pre><code class="hljs css languages-jsx">
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') {
Expand Down

0 comments on commit b064fee

Please sign in to comment.