We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f95b22 commit 992124bCopy full SHA for 992124b
.vitepress/headerMdPlugin.ts
@@ -19,6 +19,8 @@ export interface AugmentedHeader extends Header {
19
}
20
21
export const headerPlugin = (md: MarkdownIt) => {
22
+ md.core.ruler.enable('text_join')
23
+
24
md.renderer.rules.heading_open = (tokens, i, options, env, self) => {
25
for (const child of tokens[i + 1].children!) {
26
if (child.type === 'text' && child.content.endsWith('*')) {
0 commit comments