diff --git a/README.md b/README.md
index a9d7a4e..ba2a9e7 100644
--- a/README.md
+++ b/README.md
@@ -60,48 +60,54 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章
@@ -109,17 +115,18 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章
## 示例文章
-- [不限速下载 bilibili 壁纸娘的 432 张壁纸](https://mp.weixin.qq.com/s/qefHCmToAdowBz2JwBn_ug)
-- [全网首发!GPU 驱动自升级原理详解](https://mp.weixin.qq.com/s/7UG24ZugfI5ZnhUpo8vfvQ)
-- [Quick Start - 天下武功,唯快不破!效率工具,老少皆宜](https://mp.weixin.qq.com/s/SFde8OsZ8FzNGMHwpmDtrg)
-- [死磕JavaScript系列之原来你是对象(一)](https://mp.weixin.qq.com/s/oc5Z2t9ykbu_Dezjnw5mfQ)
- [一文多发神器--ArtiPub&OpenWrite](https://mp.weixin.qq.com/s/FpGIX9viQR6Z9iSCEPH86g)
+- [全网首发!GPU 驱动自升级原理详解](https://mp.weixin.qq.com/s/7UG24ZugfI5ZnhUpo8vfvQ)
+- [死磕 JavaScript 系列之原来你是对象(一)](https://mp.weixin.qq.com/s/oc5Z2t9ykbu_Dezjnw5mfQ)
- [免费且好用的图床,就你了,「图壳」!](https://mp.weixin.qq.com/s/0HhgHLo_tTRFZcC-CVjDbw)
+- [不限速下载 bilibili 壁纸娘的 432 张壁纸](https://mp.weixin.qq.com/s/qefHCmToAdowBz2JwBn_ug)
- [GitHub 项目持续本地化,交给它来做,准没错!](https://mp.weixin.qq.com/s/KO4xHr4EI0YfjF0hiT3pbw)
- [阿里又一个 20k+ stars 开源项目诞生,恭喜 fastjson!](https://mp.weixin.qq.com/s/RNKDCK2KoyeuMeEs6GUrow)
- [全球最大的成人网站 Pornhub 2019 年度报告新鲜出炉!](https://mp.weixin.qq.com/s/LY5kOzof1h3I0bw7tCkV1Q)
- [刷掉 90 % 候选人的海量数据面试题(附题解+方法总结)](https://mp.weixin.qq.com/s/rjGqxUvrEqJNlo09GrT1Dw)
+- [Quick Start - 天下武功,唯快不破!效率工具,老少皆宜](https://mp.weixin.qq.com/s/SFde8OsZ8FzNGMHwpmDtrg)
- [GitHub 标星 11.5k 的一款开源工具,助你轻松查看 Git 历史](https://mp.weixin.qq.com/s/PK-ikENqF13Lmqy2pcMhYQ)
+- [用 Markdown 编辑微信公众号?这个高颜值解决方案你一定会爱上](https://mp.weixin.qq.com/s/bnlWqzCarDlR4F27HHXNUg)
## 项目许可证
diff --git a/src/components/codeMirror/header.vue b/src/components/codeMirror/header.vue
index 2652ea7..eaab384 100644
--- a/src/components/codeMirror/header.vue
+++ b/src/components/codeMirror/header.vue
@@ -177,8 +177,7 @@ export default {
let clipboardDiv = document.getElementById('output');
solveWeChatImage();
fixCodeWhiteSpace();
- this.setHtml(solveHtml());
-
+ solveHtml();
clipboardDiv.focus();
window.getSelection().removeAllRanges();
let range = document.createRange();
@@ -253,7 +252,7 @@ export default {
document.body.removeChild(downLink)
},
...mapMutations(['clearEditorToDefault','setCurrentColor', 'setCiteStatus', 'themeChanged',
- 'setHtml', 'setCurrentFont', 'setCurrentSize', 'setCssEditorValue', 'setWxRendererOptions'])
+ 'setCurrentFont', 'setCurrentSize', 'setCssEditorValue', 'setWxRendererOptions'])
},
mounted() {
this.selectFont = this.currentFont;
diff --git a/src/scripts/renderers/wx-renderer.js b/src/scripts/renderers/wx-renderer.js
index 535c12d..52b8945 100644
--- a/src/scripts/renderers/wx-renderer.js
+++ b/src/scripts/renderers/wx-renderer.js
@@ -119,7 +119,7 @@ const WxRenderer = function (opts) {
}
renderer.blockquote = text => {
- text = text.replace(//, ``)
+ text = text.replace(/
/g, ``)
return `
${text}
`
}
renderer.code = (text, infoString) => {
diff --git a/src/scripts/themes/default-theme.js b/src/scripts/themes/default-theme.js
index 0cde9bd..77e4cf6 100644
--- a/src/scripts/themes/default-theme.js
+++ b/src/scripts/themes/default-theme.js
@@ -71,7 +71,7 @@ export default {
'color': 'rgb(80, 80, 80)',
'font-family': 'PingFangSC-light, PingFangTC-light, Open Sans, Helvetica Neue, sans-serif',
'font-size': '1em',
- 'display': 'inline',
+ 'display': 'block',
},
code: {
diff --git a/src/store/index.js b/src/store/index.js
index a7c5433..db8b943 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -26,9 +26,6 @@ const state = {
nightMode: false
};
const mutations = {
- setHtml(state, data) {
- state.html = data;
- },
setEditorValue(state, data) {
state.editor.setValue(data)
},