feat: add GitHub repo card, admonitions (#77)

* Added remark-directive, unist-util-visit

* Add rehype custom components for Github, Admonitions

* pnpm

* Update pnpm-lock

* Corrected hastscript requierement

* Change ad- prefix so adblocks dont block content
This commit is contained in:
Fabrizio
2024-05-02 01:24:20 -03:00
committed by saicaca
parent 5e4ae01af6
commit e1dae88515
9 changed files with 6696 additions and 4724 deletions

View File

@@ -25,20 +25,25 @@
"astro-compress": "^2.2.15",
"astro-icon": "1.1.0",
"colorjs.io": "^0.5.0",
"hastscript": "^9.0.0",
"markdown-it": "^14.1.0",
"mdast-util-to-string": "^4.0.0",
"overlayscrollbars": "^2.6.1",
"pagefind": "^1.0.4",
"reading-time": "^1.5.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-components": "^0.3.0",
"rehype-katex": "^7.0.0",
"rehype-slug": "^6.0.0",
"remark-directive": "^3.0.0",
"remark-directive-rehype": "^0.4.2",
"remark-math": "^6.0.0",
"sanitize-html": "^2.13.0",
"sharp": "^0.33.2",
"sharp": "^0.33.3",
"svelte": "^4.2.12",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.2"
"typescript": "^5.4.2",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@astrojs/ts-plugin": "^1.6.0",
@@ -51,7 +56,8 @@
"@rollup/plugin-yaml": "^4.1.2",
"@tailwindcss/typography": "^0.5.10",
"@types/markdown-it": "^14.0.0",
"@types/mdast": "^4.0.3",
"@types/sanitize-html": "^2.11.0",
"stylus": "^0.63.0"
}
}
}