|
|
|
@ -12,7 +12,7 @@ const indexRE = /(^|.*\/)index.md(#?.*)$/i
|
|
|
|
|
export const linkPlugin = (
|
|
|
|
|
md: MarkdownIt,
|
|
|
|
|
externalAttrs: Record<string, string>,
|
|
|
|
|
base: string
|
|
|
|
|
base: string,
|
|
|
|
|
shouldCleanUrls: boolean
|
|
|
|
|
) => {
|
|
|
|
|
md.renderer.rules.link_open = (tokens, idx, options, env, self) => {
|
|
|
|
|