@mdx-js/mdx
Parse MDX and transpile to JSX
Last updated 15 days ago by johno .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mdx-js/mdx 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 1.6.2-ci.1                                ...           ci (2 months ago)
  • 1.6.6                                ...           latest (15 days ago)
  • 2.0.0-next.1                                ...           next (a month ago)

154 Versions

  • 1.6.6                                ...           15 days ago
  • 1.6.5                                ...           a month ago
  • 2.0.0-next.1                                ...           a month ago
  • 1.6.4                                ...           a month ago
  • 2.0.0-next.0                                ...           a month ago
  • 1.6.3                                ...           a month ago
  • 1.6.2                                ...           a month ago
  • 1.6.2-ci.1                                ...           2 months ago
  • 1.6.1                                ...           2 months ago
  • 1.6.0                                ...           2 months ago
  • 1.5.9                                ...           2 months ago
  • 1.5.9-ci.5                                ...           2 months ago
  • 1.5.8                                ...           3 months ago
  • 1.5.8-ci.13                                ...           3 months ago
  • 1.5.8-alpha.0                                ...           4 months ago
  • 1.5.7                                ...           4 months ago
  • 1.5.7-alpha.0                                ...           4 months ago
  • 1.5.6                                ...           4 months ago
  • 1.5.6-alpha.0                                ...           5 months ago
  • 1.5.6-ci.0                                ...           5 months ago
  • 1.5.5                                ...           6 months ago
  • 1.5.4                                ...           6 months ago
  • 1.5.3                                ...           6 months ago
  • 1.5.2                                ...           7 months ago
  • 1.5.1                                ...           9 months ago
  • 1.5.0                                ...           9 months ago
  • 1.4.5                                ...           10 months ago
  • 1.4.4                                ...           10 months ago
  • 1.4.3                                ...           10 months ago
  • 1.4.2                                ...           10 months ago
  • 1.4.1                                ...           10 months ago
  • 1.4.0                                ...           10 months ago
  • 1.3.2                                ...           10 months ago
  • 1.3.1                                ...           10 months ago
  • 1.3.0                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.2-ci.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.27-ci.0                                ...           a year ago
  • 1.0.27                                ...           a year ago
  • 1.0.26                                ...           a year ago
  • 1.0.25                                ...           a year ago
  • 1.0.24                                ...           a year ago
  • 1.0.24-ci.5                                ...           a year ago
  • 1.0.24-ci.3                                ...           a year ago
  • 1.0.23                                ...           a year ago
  • 1.0.22                                ...           a year ago
  • 1.0.21                                ...           a year ago
  • 1.0.20                                ...           a year ago
  • 1.0.20-ci.2                                ...           a year ago
  • 1.0.19-ci.5                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.16-ci.0                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.14                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5-ci.0                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.4-ci.0                                ...           a year ago
  • 1.0.3-ci.2                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0-ci.0                                ...           a year ago
  • 1.0.0-rc.4                                ...           a year ago
  • 1.0.0-rc.3                                ...           a year ago
  • 1.0.0-rc.2                                ...           a year ago
  • 1.0.0-rc.0                                ...           a year ago
  • 1.0.0-alpha.17                                ...           a year ago
  • 1.0.0-alpha.16                                ...           a year ago
  • 1.0.0-alpha.13                                ...           a year ago
  • 1.0.0-alpha.12                                ...           a year ago
  • 1.0.0-alpha.11                                ...           a year ago
  • 1.0.0-alpha.10                                ...           a year ago
  • 1.0.0-alpha.9                                ...           a year ago
  • 1.0.0-alpha.8                                ...           a year ago
  • 1.0.0-alpha.7                                ...           a year ago
  • 1.0.0-alpha.6                                ...           a year ago
  • 1.0.0-alpha.5                                ...           a year ago
  • 1.0.0-alpha.1                                ...           a year ago
  • 0.20.3                                ...           a year ago
  • 1.0.0-alpha.0                                ...           a year ago
  • 0.20.2                                ...           a year ago
  • 0.20.1                                ...           a year ago
  • 0.20.0                                ...           a year ago
  • 0.20.0-alpha.0                                ...           a year ago
  • 0.19.0                                ...           a year ago
  • 0.19.0-alpha.0                                ...           a year ago
  • 0.18.2                                ...           a year ago
  • 0.18.1                                ...           a year ago
  • 0.18.0                                ...           a year ago
  • 0.17.5                                ...           a year ago
  • 0.17.4                                ...           a year ago
  • 0.17.3                                ...           a year ago
  • 0.17.0                                ...           a year ago
  • 0.16.8                                ...           a year ago
  • 0.16.6                                ...           2 years 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
Downloads
Today 384
This Week 2,855
This Month 1,481
Last Day 637
Last Week 2,789
Last Month 13,095
Dev Dependencies (0)
None
Dependents (601)

Copyright 2014 - 2016 © taobao.org |