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

Update MDX, support version 1 and 2, as well as the multiple ASTs generated #689

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Dec 31, 2022

  1. Configuration menu
    Copy the full SHA
    572b6cf View commit details
    Browse the repository at this point in the history
  2. add mdx 1 and 2 parsers and transformers

    mdx version 1 and version 2 have different syntax tree, this allows both
    versions' syntax trees to be previewed.
    In addition, mdx internally uses multiple syntax trees.
    Version 1 has a markdown AST (mdast/remark) and an HTML AST (hast/rehype).
    Version 2 has a markdown AST (mdast/remark), an HTML AST (hast/rehype), and a
    JavaScript AST (esast/recma).
    
    This updates AST Explorer to have a preview for all version 1 and
    version 2 ASTs.
    As well as updates transformers to allow for transforms on both version
    1 and version 2.
    ChristianMurphy committed Dec 31, 2022
    Configuration menu
    Copy the full SHA
    398d416 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    190d3a5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be88eb3 View commit details
    Browse the repository at this point in the history