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

Beginnings of experimental MyST support #54

Merged
merged 11 commits into from
Sep 11, 2024
Merged

Conversation

irskep
Copy link
Owner

@irskep irskep commented Sep 11, 2024

I had a grand vision of fully supporting both MyST and Djot syntax, since MyST has a much better role/directive feature.

Unfortunately, I found huge gaps in the JS implementation of myst-parser. I also don't like that it seems to be built on top of markdown-it, but then provides a data structure that is part of a completely different project (remark). And a few myst-parser dependencies pin old versions of markdown-it which trigger noisy deprecation warnings. Overall not ready for prime time.

That said, I'm not going to toss out all the work because it looks like adding remark support is probably the way forward. Then I can ditch the pandoc requirement for GFM and use remark extensions instead, and use mdast internally instead of the Djot AST, which has a lot of nice utilities available and is more syntactically rich.

@irskep irskep merged commit dbdd641 into main Sep 11, 2024
5 checks passed
@irskep irskep deleted the feature/import-myst-redo branch September 11, 2024 19:57
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