Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 解决代码块会覆盖用户设置的高亮语法的问题 #434

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

LIlGG
Copy link
Owner

@LIlGG LIlGG commented Oct 30, 2023

What type of PR is this?

/kind bug

What this PR does / why we need it:

移除检测语言别名的方式。如果检测到语言,则直接使用语言自身来进行高亮处理,高亮不再自动处理语言。

How to test it?

在后台设置发布文章时,测试设置的语言内容是否合理。

Which issue(s) this PR fixes:

Fixes #420

Does this PR introduce a user-facing change?

解决高亮语法会覆盖用户默认设置的问题

@LIlGG LIlGG merged commit e8d10c5 into next Oct 30, 2023
1 check passed
@LIlGG LIlGG deleted the fix/auto-code-blank-language branch May 8, 2024 04:43
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.

代码块不解析代码语言标记
1 participant