remove console log

This commit is contained in:
Benjamin Palko 2026-01-27 10:03:31 -05:00
parent a515a2a687
commit aee09a2c77

View file

@ -7,17 +7,20 @@ import { join } from 'path';
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: [vitePreprocess(), mdsvex({
extensions: ['.md'], layout: {
preprocess: [
vitePreprocess(),
mdsvex({
extensions: ['.md'],
layout: {
blog: join(import.meta.dirname, './src/lib/layout/Blog.svelte')
},
highlight: {
highlighter: (code, lang, meta) => {
console.log(meta);
highlighter: (code, lang) => {
return `<Components.pre code={\`${code}\`} lang={\`${lang}\`} />`;
}
}
})],
})
],
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.