marked: upgrade of the Marked break the language keyword of code block

Change from "lang" to "language".
This commit is contained in:
Le Tan 2018-10-24 19:56:07 +08:00
parent 2a7a4f864e
commit 09ae24395d

View File

@ -61,10 +61,10 @@ var updateText = function(text) {
handleToc(needToc);
insertImageCaption();
setupImageView();
renderMermaid('lang-mermaid');
renderFlowchart(['lang-flowchart', 'lang-flow']);
renderPlantUML('lang-puml');
renderGraphviz('lang-dot');
renderMermaid('language-mermaid');
renderFlowchart(['language-flowchart', 'language-flow']);
renderPlantUML('language-puml');
renderGraphviz('language-dot');
addClassToCodeBlock();
renderCodeBlockLineNumber();