fix: columns
This commit is contained in:
@@ -5,6 +5,7 @@ import markedAlert from "marked-alert";
|
||||
import markedMermaid from "./mermaid";
|
||||
import markedTable from "./table";
|
||||
import {gfmHeadingId} from "marked-gfm-heading-id";
|
||||
import markedColumns from "./columns";
|
||||
|
||||
let globalIconPrefix: string | undefined = undefined;
|
||||
function overrideIconPrefix(path?: string){
|
||||
@@ -45,8 +46,10 @@ const marked = new Marked()
|
||||
}
|
||||
},
|
||||
]), {
|
||||
extensions: [
|
||||
...markedColumns(),
|
||||
{
|
||||
// 自定义代码块渲染器,支持 yaml/tag 格式
|
||||
extensions: [{
|
||||
name: 'code-block-yaml-tag',
|
||||
level: 'block',
|
||||
start(src: string) {
|
||||
|
||||
Reference in New Issue
Block a user