language-mdxjs

Language support for Markdown React JS (MDX)


Keywords
atom, atom-editor, markdown, mdx, mdx-js, react
License
GPL-3.0
Install
apm install language-mdxjs@0.1.4

Documentation

Markdown React (MDX) for Atom

Adds language support for MDX.

Скриншот 2019-08-24 12.56.31

Installation

  • apm install language-mdxjs
  • apm install react (if you don't already have it)

Using Toolbar for Markdown Writer with .mdx files?

If you want to use Toolbar for Markdown Writer, make sure to add source.mdxjs to the plugin's settings.

Скриншот 2019-08-25 05.57.50

Applying MDX grammar to .md files?

By default the MDX language is applied only to .mdx files. If MDX files in your project end with .md, you can create a custom file type in your config.cson:

core:
  customFileTypes:
    'source.mdx': [
      'md'
    ]

Auto-close tags

If you want Atom to automatically close tags while you type, you can install Auto Close Tag.