Skip to content

[WIP] mdx generator #273

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

[WIP] mdx generator #273

wants to merge 2 commits into from

Conversation

avivkeller
Copy link
Member

@avivkeller avivkeller commented May 17, 2025

Right now, this PR only contains the basic code to convert the markdown nodes into MDX nodes, so it's an extremely oh-so-very early draft.

The additional dependencies are purely for testing the output of this generator, which you can do by plugging it into https://github.com/avivkeller/nodejs-docs-redesign-reference as src/content.mdx.

Figma: https://www.figma.com/file/pu1vZPqNIM7BePd6W8APA5/Node.js

Tasks (in no particular order)

  • Basic Generator
  • Stability Nodes
  • Table of Contents
  • Metadata
    • Source
    • Added In
    • History

@avivkeller
Copy link
Member Author

Current output:
image

Comment on lines +50 to +51
"mdast-util-to-markdown": "^2.1.2",
"mdast-util-mdx-jsx": "^3.2.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are here for testing the output, and will be removed before this is ready for review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant