aboutsummaryrefslogtreecommitdiff
path: root/packages/markdown/remark/src/shiki.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/remark/src/shiki.ts')
-rw-r--r--packages/markdown/remark/src/shiki.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/markdown/remark/src/shiki.ts b/packages/markdown/remark/src/shiki.ts
index fa29c9c06..0028ec927 100644
--- a/packages/markdown/remark/src/shiki.ts
+++ b/packages/markdown/remark/src/shiki.ts
@@ -19,7 +19,7 @@ export interface ShikiHighlighter {
* Raw `meta` information to be used by Shiki transformers
*/
meta?: string;
- }
+ },
): Promise<string>;
}
@@ -30,7 +30,7 @@ const ASTRO_COLOR_REPLACEMENTS: Record<string, string> = {
};
const COLOR_REPLACEMENT_REGEX = new RegExp(
`${Object.keys(ASTRO_COLOR_REPLACEMENTS).join('|')}`,
- 'g'
+ 'g',
);
let _cssVariablesTheme: ReturnType<typeof createCssVariablesTheme>;
@@ -63,7 +63,7 @@ export async function createShikiHighlighter({
} catch (_err) {
// eslint-disable-next-line no-console
console.warn(
- `[Shiki] The language "${lang}" doesn't exist, falling back to "plaintext".`
+ `[Shiki] The language "${lang}" doesn't exist, falling back to "plaintext".`,
);
lang = 'plaintext';
}