feat(rehype): support lazy load languages #469
Annotations
2 errors
Test:
packages/core/src/constructors/internal-sync.ts#L50
ShikiError: Language `js` not found, you may need to load it first
❯ Object.getLanguage packages/core/src/constructors/internal-sync.ts:50:13
❯ Module.codeToTokensBase packages/core/src/highlight/code-to-tokens-base.ts:47:29
❯ Module.codeToTokens packages/core/src/highlight/code-to-tokens.ts:66:14
❯ Module.codeToHast packages/core/src/highlight/code-to-hast.ts:44:7
❯ Object.codeToHast packages/core/src/constructors/highlighter.ts:26:36
❯ highlight packages/rehype/src/core.ts:74:36
❯ processNode packages/rehype/src/core.ts:133:26
❯ packages/rehype/src/core.ts:159:29
❯ packages/rehype/src/core.ts:159:15
|
Test
Process completed with exit code 1.
|
Loading