update
This commit is contained in:
@@ -50,12 +50,12 @@ renderer.blockquote = function (quote) {
|
||||
var content = match[1]; // 获取第一个捕获组的内容
|
||||
console.log(content);
|
||||
}
|
||||
return `❣️${content}`;
|
||||
return `❣️<span class="blockquote">${content}</span>`;
|
||||
};
|
||||
|
||||
marked.use({ renderer });
|
||||
const markTextStr = marked(
|
||||
` \n
|
||||
`
|
||||
>测试`
|
||||
);
|
||||
// export default class Index extends Component {
|
||||
|
||||
Reference in New Issue
Block a user