Skip to content

feat(markdown-it): add langAlias option#1018

Merged
antfu merged 1 commit intoshikijs:mainfrom
uncenter:feat/lang-alias-markdown-it
May 15, 2025
Merged

feat(markdown-it): add langAlias option#1018
antfu merged 1 commit intoshikijs:mainfrom
uncenter:feat/lang-alias-markdown-it

Conversation

@uncenter
Copy link
Copy Markdown
Contributor

Description

Does what #1015 did for Rehype, for markdown-it. Supports the documented langAlias option in the markdown-it plugin. I've used the same fixture input/output as the Rehype test case did, and I've emulated the same settings (why is the transformerMetaHighlight included in all the other tests for no reason by the way?).

Linked Issues

Additional context

@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2025

Deploy Preview for shiki-matsu failed.

Name Link
🔨 Latest commit e8a9912
🔍 Latest deploy log https://app.netlify.com/projects/shiki-matsu/deploys/682604108fb53a0008b00aae

@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2025

Deploy Preview for shiki-next failed.

Name Link
🔨 Latest commit e8a9912
🔍 Latest deploy log https://app.netlify.com/projects/shiki-next/deploys/6826041042f7bd00081db237

@uncenter
Copy link
Copy Markdown
Contributor Author

Error seems unrelated?

11:11:32 AM: Failed during stage 'preparing repo': Error checking out submodules: fatal: No url found for submodule path 'packages/core/vendor/vscode-textmate' in .gitmodules
: exit status 128: fatal: No url found for submodule path 'packages/core/vendor/vscode-textmate' in .gitmodules
: exit status 128
11:11:32 AM: Error checking out submodules: fatal: No url found for submodule path 'packages/core/vendor/vscode-textmate' in .gitmodules
: exit status 128
11:11:32 AM: Failing build: Failed to prepare repo

@antfu antfu merged commit 97ff4b3 into shikijs:main May 15, 2025
7 of 12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants