diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index 66b439b..d85f4f3 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -50,13 +50,13 @@ renderer.blockquote = function (quote) { var content = match[1]; // 获取第一个捕获组的内容 console.log(content); } - return `❣️${content}`; + return `❣️${content}`; }; marked.use({ renderer }); const markTextStr = marked( - `![测试图片2](http://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304081955211.png) \n - > 测试` + `![测试图片2](http://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304081955211.png) + >测试` ); // export default class Index extends Component { const Index = () => {