整理 docs 代码

This commit is contained in:
就眠儀式
2021-12-30 14:00:25 +08:00
parent af5a0e0cc9
commit 0b09de219e
11 changed files with 29 additions and 49 deletions

View File

@@ -2,11 +2,8 @@ import container from 'markdown-it-container'
import type Token from 'markdown-it/lib/token'
type ContainerArgs = [
typeof container,
string,
{
render(tokens: Token[], idx: number): string
}
typeof container, string,
{ render(tokens: Token[], idx: number): string }
]
export default function createContainer(
@@ -28,4 +25,4 @@ export default function createContainer(
},
},
]
}
}