From 3bec52d5a5950143a8ec0dbbd1bbf0624452b1fb Mon Sep 17 00:00:00 2001 From: hackrobot Date: Mon, 13 May 2024 14:07:01 +0800 Subject: [PATCH] update --- src/pages/index/index.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = () => {