-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
5 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,4 @@ | ||
{ | ||
"name": "@mdx-js/parcel-plugin-mdx", | ||
"version": "2.0.0-next.9", | ||
"description": "Parcel plugin for MDX", | ||
"repository": "mdx-js/mdx", | ||
"homepage": "https://mdxjs.com", | ||
"bugs": "https://github.com/mdx-js/mdx/issues", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"author": "Matthew Hamlin <[email protected]> (https://matthamlin.me)", | ||
"contributors": [ | ||
"Matthew Hamlin <[email protected]> (https://matthamlin.me)", | ||
"John Otander <[email protected]> (http://johnotander.com)", | ||
"Tim Neutkens <[email protected]>", | ||
"Matija Marohnić <[email protected]>", | ||
"Titus Wormer <[email protected]> (https://wooorm.com)", | ||
"JounQin <[email protected]> (https://www.1stg.me)" | ||
], | ||
"license": "MIT", | ||
"main": "src/index.js", | ||
"files": [ | ||
"src" | ||
], | ||
"keywords": [ | ||
"mdx", | ||
"markdown", | ||
"react", | ||
"jsx", | ||
"remark", | ||
"parcel" | ||
], | ||
"peerDependencies": { | ||
"@mdx-js/react": "^1.6.7", | ||
"react": ">=16" | ||
}, | ||
"dependencies": { | ||
"@mdx-js/mdx": "2.0.0-next.9", | ||
"parcel-bundler": "^1.12.4" | ||
}, | ||
"scripts": { | ||
"test-api": "NODE_OPTIONS=--experimental-vm-modules jest test", | ||
"test-coverage": "NODE_OPTIONS=--experimental-vm-modules jest test --coverage", | ||
"test": "yarn test-coverage" | ||
}, | ||
"type": "module", | ||
"gitHead": "bf7deab69996449cb99c2217dff75e65855eb2c1" | ||
"private": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,11 @@ | ||
# `@mdx-js/parcel-plugin-mdx` | ||
# @mdx-js/parcel-plugin-mdx | ||
|
||
[![Build][build-badge]][build] | ||
[![Sponsors][sponsors-badge]][opencollective] | ||
[![Backers][backers-badge]][opencollective] | ||
[![Chat][chat-badge]][chat] | ||
Deprecated! | ||
|
||
An experimental [Parcel][] plugin for [MDX][]. | ||
|
||
## Install | ||
[@parcel/transformer-mdx][] is the official plugin for Parcel 2. | ||
|
||
[npm][]: | ||
|
||
```sh | ||
npm install --save-dev @mdx-js/parcel-plugin-mdx | ||
``` | ||
|
||
[yarn][]: | ||
|
||
```sh | ||
yarn add --dev @mdx-js/parcel-plugin-mdx | ||
``` | ||
|
||
## Use | ||
|
||
```jsx | ||
// index.js | ||
import MDXContent from './content.mdx'; | ||
|
||
... | ||
|
||
render(<MDXContent />, root); | ||
``` | ||
|
||
## Contribute | ||
|
||
See [Contributing on `mdxjs.com`][contributing] for ways to get started. | ||
See [Support][] for ways to get help. | ||
|
||
This project has a [code of conduct][coc]. | ||
By interacting with this repository, organization, or community you agree to | ||
abide by its terms. | ||
|
||
## License | ||
|
||
[MIT][] © [Compositor][] and [Vercel][] | ||
|
||
[build-badge]: https://github.com/mdx-js/mdx/workflows/CI/badge.svg | ||
[build]: https://github.com/mdx-js/mdx/actions | ||
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg | ||
[backers-badge]: https://opencollective.com/unified/backers/badge.svg | ||
[opencollective]: https://opencollective.com/unified | ||
[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg | ||
[chat]: https://github.com/mdx-js/mdx/discussions | ||
[npm]: https://docs.npmjs.com/cli/install | ||
[yarn]: https://yarnpkg.com/cli/add | ||
[contributing]: https://mdxjs.com/contributing | ||
[support]: https://mdxjs.com/support | ||
[coc]: https://github.com/mdx-js/.github/blob/master/code-of-conduct.md | ||
[mit]: https://github.com/mdx-js/mdx/blob/master/license | ||
[compositor]: https://compositor.io | ||
[vercel]: https://vercel.com | ||
[@parcel/transformer-mdx]: https://www.npmjs.com/package/@parcel/transformer-mdx | ||
[mdx]: https://github.com/mdx-js/mdx | ||
[parcel]: https://parceljs.org |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.