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

Here is how to use the ESM version of unified and remark: #630

Closed
NullVoxPopuli opened this issue Jan 23, 2023 · 1 comment
Closed

Here is how to use the ESM version of unified and remark: #630

NullVoxPopuli opened this issue Jan 23, 2023 · 1 comment

Comments

@NullVoxPopuli
Copy link
Owner

NullVoxPopuli commented Jan 23, 2023

https://jsbin.com/serolidome/1/edit?html,output

The caveat here is that we'd lose the "inline" glimmer features, like what is demostrated here

Discussion on the future: https://github.com/orgs/unifiedjs/discussions/213

And separate repo to implement ideas: https://github.com/nullvoxpopuli/glimdown

The solution is going to be a custom parser that hopefully uses @glimmer/parser, and converts the AST to UAST or whatever it's called -- or at least uses the format.

Related:

(not that this project uses Docfy, but we're solving similar things -- Limber: at runtime, Docfy: at build time)

@NullVoxPopuli
Copy link
Owner Author

This has been implemented, and will eventually make its way into either ember-repl or another library

@NullVoxPopuli NullVoxPopuli unpinned this issue May 23, 2023
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

1 participant