From 81c319d21e77cf2386947a7873cf03488d5ef3f9 Mon Sep 17 00:00:00 2001 From: Luis Mastrangelo Date: Fri, 5 Jan 2024 06:00:34 -0300 Subject: [PATCH] Fix markdown fences when lang contain spaces --- docs/index.html | 157 +++++++++++++++++++++++++----------------------- 1 file changed, 82 insertions(+), 75 deletions(-) diff --git a/docs/index.html b/docs/index.html index 7a996c5b..146ecc45 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,87 +1,94 @@ - - - EVM.js - - - - - - - - - + + + EVM.js + + + + + + + + + + - -
Loading...
- - - + ], + + markdown: { + renderer: { + // https://docsify.js.org/#/markdown?id=supports-mermaid + code: function (code, lang) { + lang = lang.split(' ')[0]; + return this.origin.code.apply(this, arguments); + } + } + } + }; + + + + + + - - + + - - + + - - + + - - + + + + + - - - - - - + \ No newline at end of file