remove console log
This commit is contained in:
parent
a515a2a687
commit
aee09a2c77
1 changed files with 23 additions and 20 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue