Skip to content

Commit

Permalink
Update dependency @types/markdown-it to v14 (#2470)
Browse files Browse the repository at this point in the history
* Update dependency @types/markdown-it to v14

* Fixing markdown import.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dessalines <[email protected]>
  • Loading branch information
renovate[bot] and dessalines authored May 15, 2024
1 parent c6d1e06 commit 7875a79
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"@types/express": "^4.17.21",
"@types/html-to-text": "^9.0.4",
"@types/lodash.isequal": "^4.5.8",
"@types/markdown-it": "^13.0.7",
"@types/markdown-it": "^14.0.0",
"@types/markdown-it-container": "^2.0.9",
"@types/node": "^20.11.30",
"@types/path-browserify": "^1.0.2",
Expand Down
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/shared/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import markdown_it_ruby from "markdown-it-ruby";
import markdown_it_sub from "markdown-it-sub";
import markdown_it_sup from "markdown-it-sup";
import markdown_it_highlightjs from "markdown-it-highlightjs/core";
import Renderer from "markdown-it/lib/renderer";
import Token from "markdown-it/lib/token";
import { Renderer, Token } from "markdown-it";
import { instanceLinkRegex, relTags } from "./config";
import { lazyHighlightjs } from "./lazy-highlightjs";

Expand Down

0 comments on commit 7875a79

Please sign in to comment.