1.6.5 • Published 6 days ago

@mdx-js/mdx v1.6.5

Weekly downloads
805,149
License
MIT
Repository
github
Last release
6 days ago

@mdx-js/mdx

Build Status lerna Join the community on Spectrum

MDX implementation using remark.

Installation

npm:

npm i -S @mdx-js/mdx

Usage

const mdx = require('@mdx-js/mdx')

const result = await mdx(`
# Hello, MDX

I <3 Markdown and JSX
`)

console.log(result)

Yields:

export default ({components, ...props}) => (
  <MDXTag name="wrapper" components={components}>
    <MDXTag name="h1" components={components}>{`Hello, MDX`}</MDXTag>
    <MDXTag name="p" components={components}>{`I <3 Markdown and JSX`}</MDXTag>
  </MDXTag>
)

Contribute

See the Support and Contributing guidelines on the MDX website for ways to (get) help.

This project has a Code of Conduct. By interacting with this repository, organisation, or community you agree to abide by its terms.

License

MIT © Compositor and Vercel

@baradm100/gatsby-theme-admonation@briodev/gatsby-theme-blog@brisk-docs/gatsby-generator@brisk-docs/website@blocz/mdx-live@blocz/mdx-loaderskullcat@cangir/gatsby-theme-blog-core@cangir/gatsby-theme-cms-core@cangir/gatsby-theme-page-core@codebrahma/gatsby-theme-blog@codinators/gatsby-theme-blog@arrempee/gatsby-theme-mdx-blog@arrempee/gatsby-theme-mdx-collections@arrempee/gatsby-theme-mdx-pages@arshad/gatsby-theme-blog-core@arshad/gatsby-theme-page-core@arshad/gatsby-theme-photo-core@arshad/gatsby-theme-portfolio-core@alicloud/gatsby-theme-console-docshayu@ayc0/mdx-deck@benjaminscholtens/gatsby-theme-fluid@cs125/gatsby-theme-cs125@comp/x@conveyal/analysis-uispectacle-mdx-loader@darktower/zero-builder-react@darktower/zero-dep-tree-js@chakrihacker/gatsby-theme-fyndxsmooth-doc@committed/gatsby-theme-docs@commitd/gatsby-theme-docs@confluenza/gatsby-theme-confluenza@compositor/x0@compositor/kit@commercetools-docs/gatsby-theme-commercetools-docs@commercetools-docs/gatsby-theme-docs@digitalstudio/play@desruc666/gatsby-theme-blog@desrucdeveloper/gatsby-theme-blogstorybook-addon-markdown-docs@dseoane/gatsby-theme-blog-core@dschau/gatsby-theme-workshop@dexgroup/gatsby-theme-blog@dexgroup/gatsby-theme-dexlist-design@devular/gatsby-theme-help-centermonstrositymdxsmdxx-parsermdx-blocksmdx-buildermdx-deck-nikmdx-extract-exportmdx-gomdx-jsxmdx-link-checkermdx-loadermdx-loader-primitivesmdx-runtime-slimmdx-scoped-runtimemdx-staticmdx-table-of-contentsmdx-to-pretty-jsxmdx-vue-loadermdx.macromdjsxnext-mdx-blognext-mdx-remotenext-orgamikatre-thememasterclass-playbook@alec.brunelle/gatsby-theme-novelarth-ui-runner@albinotonnina/mdx-deckparcel-plugin-spectacle-mdxparcel-transformer-mdx-with-toc@aengusm/gatsby-theme-brainrollup-plugin-mdxrocurocketbelt@affectionatedoor/gatsby-theme-quick-start@affectionatedoor/gatsby-theme-uirestory@axe312/gatsby-theme-docz@availity/gatsby-theme@availity/gatsby-theme-docs@awolf81/gatsby-theme-mdx@alpinegizmo/mdx-deck@amberleyromo/gatsby-theme-blog@amberleyromo/gatsby-theme-notesreact-static-plugin-md-pagesreact-ui-doc@florantara/gatsby-theme-mercadolibre-store@docusaurus/theme-classic@fengshangwuqi/gatsby-config@fczuardi/gatsby-theme-flex@fionawhim-site/gatsby-theme-blog@eggheadio/gatsby-theme-egghead-blogtuns-component-theme
1.6.5

6 days ago

2.0.0-next.1

14 days ago

1.6.4

15 days ago

2.0.0-next.0

15 days ago

1.6.3

15 days ago

1.6.2

15 days ago

1.6.2-ci.1

26 days ago

1.6.1

1 month ago

1.6.0

1 month ago

1.5.9

1 month ago

1.5.9-ci.5

1 month ago

1.5.8-ci.13

2 months ago

1.5.8

2 months ago

1.5.8-alpha.0

3 months ago

1.5.7

3 months ago

1.5.7-alpha.0

3 months ago

1.5.6

3 months ago

1.5.6-alpha.0

4 months ago

1.5.6-ci.0

4 months ago

1.5.5

5 months ago

1.5.4

5 months ago

1.5.3

6 months ago

1.5.2

6 months ago

1.5.1

8 months ago

1.5.0

8 months ago

1.4.5

9 months ago

1.4.4

9 months ago

1.4.3

9 months ago

1.4.2

9 months ago

1.4.1

9 months ago

1.4.0

9 months ago

1.3.2

9 months ago

1.3.1

10 months ago

1.3.0

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.1.6

10 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.2

10 months ago

1.1.2-ci.2

10 months ago

1.1.1

10 months ago

1.1.0

11 months ago

1.0.27-ci.0

11 months ago

1.0.27

11 months ago

1.0.26

11 months ago

1.0.25

11 months ago

1.0.24

11 months ago

1.0.24-ci.5

11 months ago

1.0.24-ci.3

11 months ago

1.0.23

11 months ago

1.0.22

11 months ago

1.0.21

12 months ago

1.0.20

1 year ago

1.0.20-ci.2

1 year ago

1.0.19-ci.5

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.16

1 year ago

1.0.16-ci.0

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5-ci.0

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.4-ci.0

1 year ago

1.0.3-ci.2

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0-ci.0

1 year ago

1.0.0-rc.4

1 year ago

1.0.0-rc.3

1 year ago

1.0.0-rc.2

1 year ago

1.0.0-rc.0

1 year ago

1.0.0-alpha.17

1 year ago

1.0.0-alpha.16

1 year ago

1.0.0-alpha.13

1 year ago

1.0.0-alpha.12

1 year ago

1.0.0-alpha.11

1 year ago

1.0.0-alpha.10

1 year ago

1.0.0-alpha.9

1 year ago

1.0.0-alpha.8

1 year ago

1.0.0-alpha.7

1 year ago

1.0.0-alpha.6

1 year ago

1.0.0-alpha.5

1 year ago

1.0.0-alpha.1

1 year ago

0.20.3

1 year ago

1.0.0-alpha.0

1 year ago

0.20.2

1 year ago

0.20.1

1 year ago

0.20.0

1 year ago

0.20.0-alpha.0

1 year ago

0.19.0

1 year ago

0.19.0-alpha.0

1 year ago

0.18.2

1 year ago

0.18.1

1 year ago

0.18.0

1 year ago

0.17.5

1 year ago

0.17.4

1 year ago

0.17.3

1 year ago

0.17.0

1 year ago

0.16.8

1 year ago

0.16.6

1 year ago

0.16.5

2 years ago

0.16.4

2 years ago

0.16.3

2 years ago

0.16.2

2 years ago

0.16.1

2 years ago

0.16.0

2 years ago

0.15.7

2 years ago

0.15.6

2 years ago

0.15.5

2 years ago

0.15.4

2 years ago

0.15.3

2 years ago

0.15.3-0

2 years ago

0.15.2

2 years ago

0.15.1

2 years ago

0.15.0

2 years ago

0.15.0-4

2 years ago

0.15.0-3

2 years ago

0.15.0-2

2 years ago

0.15.0-1

2 years ago

0.15.0-0

2 years ago

0.14.1

2 years ago

0.14.0

2 years ago

0.13.1-1

2 years ago

0.13.1-0

2 years ago

0.13.0-0

2 years ago

0.12.0

2 years ago

0.11.1

2 years ago

0.11.1-0

2 years ago

0.10.1

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.8.1-0

2 years ago

0.8.0

2 years ago

0.7.4

2 years ago

0.7.3

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.7.0-2

2 years ago

0.7.0-1

2 years ago

0.7.0-0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago