Here is how to use the ESM version of unified and remark:
NullVoxPopuli opened this issue · comments
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
- additionally: https://github.com/orgs/unifiedjs/discussions/214
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)
This has been implemented, and will eventually make its way into either ember-repl or another library