update
This commit is contained in:
@@ -50,13 +50,13 @@ 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 {
|
||||
const Index = () => {
|
||||
|
||||
Reference in New Issue
Block a user