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