From 6f02959b42b7039eec104bbeb215d7ded11053ec Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 13 Nov 2023 02:45:33 +0100 Subject: [PATCH] fix: revert #26, fix #30 --- packages/shikiji/src/core/renderer-hast.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/shikiji/src/core/renderer-hast.ts b/packages/shikiji/src/core/renderer-hast.ts index 5d13ec6c..9a558756 100644 --- a/packages/shikiji/src/core/renderer-hast.ts +++ b/packages/shikiji/src/core/renderer-hast.ts @@ -132,7 +132,6 @@ export function tokensToHast( class: `shiki ${options.themeName || ''}`, style: options.rootStyle || `background-color:${options.bg};color:${options.fg}`, tabindex: '0', - lang: options.lang, ...options.meta, }, children: [],