astro/packages/markdown-support/package.json
Pavel Mineev d3969436dc
Remark and rehype plugins (#562)
* remark plugins

* remove unused dependency

* enable codeblocks

* backward compatibility with remark-code-titles

* add support for rehype plugins

* add proper types for plugins

* fixes after review

- connect plugins by name
- make plugins configurable
- connect gfm and footnotes if no plugins provided from config
- add more plugins to example

* update and rename example

* add documentation for markdown plugins

* chore: rename with-markdown-plugins example

* chore: restructure dependencies

* feat: add back smartypants, fix mdx expressions

* chore: remove log

* test: add markdown plugin tests

* chore: add changeset

* docs: update markdown doc

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-01 11:55:22 -05:00

40 lines
1.1 KiB
JSON

{
"name": "@astrojs/markdown-support",
"version": "0.1.2",
"main": "./dist/index.js",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/snowpackjs/astro.git",
"directory": "packages/markdown-support"
},
"exports": {
".": "./dist/index.js"
},
"scripts": {
"prepublish": "yarn build",
"build": "astro-scripts build --format cjs \"src/**/*.ts\" && tsc -p tsconfig.json",
"dev": "astro-scripts dev \"src/**/*.ts\""
},
"dependencies": {
"@silvenon/remark-smartypants": "^1.0.0",
"gray-matter": "^4.0.2",
"mdast-util-mdx-expression": "^1.0.0",
"micromark-extension-mdx-expression": "^1.0.0",
"remark-footnotes": "^3.0.0",
"remark-gfm": "^1.0.0",
"remark-parse": "^9.0.0",
"remark-rehype": "^8.1.0",
"unified": "^9.2.1",
"unist-util-map": "^3.0.0"
},
"devDependencies": {
"@types/github-slugger": "^1.3.0",
"github-slugger": "^1.3.0",
"rehype-parse": "^7.0.1",
"rehype-raw": "^5.1.0",
"rehype-stringify": "^8.0.0",
"unified": "^9.2.1",
"unist-util-visit": "^3.1.0"
}
}