Skip to content

Commit a0a8921

Browse files
committed
Update markdown-it-replace-link
1 parent 4fa7b07 commit a0a8921

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"markdown-it": "^14.1.0",
2525
"markdown-it-attrs": "^4.2.0",
2626
"markdown-it-highlightjs": "^4.2.0",
27-
"markdown-it-replace-link": "^1.2.1",
27+
"markdown-it-replace-link": "^1.2.2",
2828
"markdownlint-cli": "^0.42.0",
2929
"prettier": "^3.3.3",
3030
"sass": "^1.81.0",

vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ export default defineConfig(({ mode }) => ({
4343
[mdiAttrs, { leftDelimiter: "{:", rightDelimiter: "}" }],
4444
[mdiHljs, { hljs }],
4545
[
46-
// `as any` is a workaround for martinheidegger/markdown-it-replace-link#11
47-
mdiReplaceLink as any, // tslint:disable-line
46+
mdiReplaceLink,
4847
{
4948
replaceLink(link: string) {
5049
if (mode == "development")

0 commit comments

Comments
 (0)