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

Render back to markdown #132

Open
Ericson2314 opened this issue Jan 12, 2024 · 1 comment
Open

Render back to markdown #132

Ericson2314 opened this issue Jan 12, 2024 · 1 comment

Comments

@Ericson2314
Copy link

It would be nice to render the AST back to markdown. This has two purposes:

  • Test round trips. If we render then parse and AST, and we should get the same AST we started with.

  • In conjunction with Directly construsting the AST #131 not all ASTs will have come from the parser, so rendering an AST to markdown is a useful way to programmatically create markdown.

@kristapsdz
Copy link
Owner

I see your point, but it's unlikely I'll do this myself. I'm happy to review and merge patches for this, however.

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

No branches or pull requests

2 participants