From c2ed645ec6241a240a94f1f25ffeeedd57990ec6 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Fri, 11 Sep 2020 20:35:35 +0800 Subject: [PATCH 1/2] fix: update wx-renderer --- src/assets/scripts/renderers/wx-renderer.js | 5 ----- src/assets/scripts/themes/default-theme.js | 1 - 2 files changed, 6 deletions(-) diff --git a/src/assets/scripts/renderers/wx-renderer.js b/src/assets/scripts/renderers/wx-renderer.js index 04e9cae..ff4805d 100644 --- a/src/assets/scripts/renderers/wx-renderer.js +++ b/src/assets/scripts/renderers/wx-renderer.js @@ -21,10 +21,6 @@ const WxRenderer = function (opts) { for (let ele in themeTpl.inline) { if (themeTpl.inline.hasOwnProperty(ele)) { let style = themeTpl.inline[ele] - if (ele === 'codespan') { - style['font-family'] = CODE_FONT_FAMILY - style['white-space'] = 'normal' - } mapping[ele] = merge(base, style) } } @@ -70,7 +66,6 @@ const WxRenderer = function (opts) { return `