Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MDX language #6339

Merged
merged 3 commits into from
May 30, 2023
Merged

Add MDX language #6339

merged 3 commits into from
May 30, 2023

Commits on Mar 22, 2023

  1. Add MDX language

    MDX is a literate programming language that combines markdown with
    several JavaScript language features, such as JSX, expressions, and ESM.
    
    *   markdown: <https://commonmark.org/>
    *   JavaScript: <https://tc39.es/ecma262/>
    *   JSX: <https://facebook.github.io/jsx/>
    
    Previously, there was some temporary duct-tape in place, to map `.mdx`
    extensions to markdown: github-linguistGH-4416.
    This improved the situation from nothing to something, but has issues,
    because the syntax that MDX brings wasn’t highlighted.
    
    With this grammar, those can be properly highlighted.
    
    Related-to: github-linguistGH-4416.
    wooorm committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    4f5c076 View commit details
    Browse the repository at this point in the history
  2. Add id

    wooorm committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    364b9fa View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    1aab73f View commit details
    Browse the repository at this point in the history