fix: update wx-renderer

This commit is contained in:
yanglbme 2020-09-11 20:35:35 +08:00
parent 6360325ef0
commit c2ed645ec6
2 changed files with 0 additions and 6 deletions

View File

@ -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 `
<style>
.preview-wrapper pre::before {
font-family: "SourceSansPro", "HelveticaNeue", Arial, sans-serif;
position: absolute;
top: 0;
right: 0;

View File

@ -69,7 +69,6 @@ export default {
blockquote_p: {
'letter-spacing': '0.1em',
'color': 'rgb(80, 80, 80)',
'font-family': 'PingFangSC-light, PingFangTC-light, Open Sans, Helvetica Neue, sans-serif',
'font-size': '1em',
'display': 'block',
},