Replace the deprecated yuku packages
- Parse code with
@fumari/oxc-wasm, one WebAssembly module for every platform. remarkTs2js()andremarkTypeScriptToJavaScript()keep the code as written in the JavaScript tab, with its comments and blank lines, and drop imports that only types use.- A
ts2jscode block with an enum, a namespace with values or a parameter property fails with an error, while blocks that onlydisableTriggerconverts stay TypeScript.
Frontmatter in code parsed like its page
fumadocs-mdxfinds frontmatter in code with the parser of the page's compiler, including Sätteri with the Markdown features of its collection.@fumadocs/astroparses frontmatter in code and link references with the Markdown features of the project, so pages with math or other enabled syntax load.