Merge branch 'saicaca:main' into feat/gitlab-card

This commit is contained in:
noeFly
2025-11-29 23:26:39 +08:00
committed by GitHub
35 changed files with 2570 additions and 2160 deletions
@@ -6,7 +6,7 @@ import { definePlugin } from "@expressive-code/core";
export function pluginLanguageBadge() {
return definePlugin({
name: "Language Badge",
// @ts-ignore
// @ts-expect-error
baseStyles: ({ _cssVar }) => `
[data-language]::before {
position: absolute;
@@ -15,6 +15,7 @@ export function pluginLanguageBadge() {
top: 0.5rem;
padding: 0.1rem 0.5rem;
content: attr(data-language);
font-family: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 0.75rem;
font-weight: bold;
text-transform: uppercase;