Skip to content

Commit

Permalink
feat!: update markdown-it support to v14 (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
  • Loading branch information
PetroSilenius and antfu committed Jan 2, 2024
1 parent 320d3d3 commit effedb5
Show file tree
Hide file tree
Showing 4 changed files with 635 additions and 443 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@

Support [GitHub-style alerts](https://github.com/orgs/community/discussions/16925) for [markdown-it](https://github.com/markdown-it/markdown-it).

> [!NOTE]
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
> [!TIP]
> Optional information to help a user be more successful.
> [!IMPORTANT]
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
> [!WARNING]
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
> [!CAUTION]
Expand Down Expand Up @@ -123,7 +123,6 @@ Alternative titles are also supported, by appending it to the marker like this:

[MIT](./LICENSE) License © 2023-PRESENT [Anthony Fu](https://github.com/antfu)


<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/markdown-it-github-alerts?style=flat&colorA=080f12&colorB=1fa669
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "markdown-it-github-alerts",
"type": "module",
"version": "0.1.2",
"packageManager": "pnpm@8.11.0",
"packageManager": "pnpm@8.13.1",
"description": "Support GitHub-style alerts for markdown-it",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -53,27 +53,27 @@
"prepare": "simple-git-hooks"
},
"peerDependencies": {
"markdown-it": "^13.0.0"
"markdown-it": "^14.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.1.2",
"@antfu/eslint-config": "^2.6.1",
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.6",
"@antfu/utils": "^0.7.7",
"@types/markdown-it": "^13.0.7",
"@types/node": "^20.10.1",
"bumpp": "^9.2.0",
"eslint": "^8.54.0",
"@types/node": "^20.10.6",
"bumpp": "^9.2.1",
"eslint": "^8.56.0",
"esno": "^4.0.0",
"lint-staged": "^15.1.0",
"markdown-it": "^13.0.2",
"pnpm": "^8.11.0",
"prettier": "^3.1.0",
"lint-staged": "^15.2.0",
"markdown-it": "^14.0.0",
"pnpm": "^8.13.1",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.2",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vite": "^5.0.4",
"vitest": "^1.0.0-beta.6"
"vite": "^5.0.10",
"vitest": "^1.1.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand Down
Loading

0 comments on commit effedb5

Please sign in to comment.