docfy
docfy copied to clipboard
Remark / Rehype are moving entirely to ESM
what does this mean for docfy and docfy config files?
Do you have any resources about this change? We will need to investigate. Probably will restrict what node versions are compatible at least.
Just this thread: https://github.com/wooorm/lowlight/issues/37#issuecomment-832342443
https://github.com/unifiedjs/unified/issues/121
I had forgotten about this, but was reminded during this discussion when I tried to upgrade to hljs@11
https://github.com/remarkjs/remark-highlight.js/issues/38#issuecomment-865356421
it's currently not possible to use hljs@11 with remark-highlight.js atm :(
@NullVoxPopuli have you seen how the move to ESM affects Docfy?
Regarding highlight, it seems we should be using rehype-highlight moving forward. Have you had success using it?
ESM affects Docfy?
once all the dependencies are updated, things should "just work"? (though, seems like there must be a switch to rehype)
Have you had success using it?
haven't tried yet, because I've been waiting for all the dependencies to switch to hljs@11 support
Is it time for upgrades? looks like rehype-highlight and all sub-deps are using hljs v11 which means we can have hifi glimmer highlighting!!! :D
@NullVoxPopuli I think we should try to upgrade yes. It would be awesome to get the new features. Any change you have cycles to get that going?