rework rehype plugin
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { mdsvex } from 'mdsvex';
|
||||
import staticAdapter from '@sveltejs/adapter-static';
|
||||
import svp from 'svelte-preprocess';
|
||||
import slug from './src/lib/slug.js';
|
||||
// import slug from './src/lib/slug.js';
|
||||
// import { addDropcaps } from './src/lib/dropcapify.js';
|
||||
import { localPlugins } from './src/plugins/rehype.js';
|
||||
|
||||
|
||||
const config = {
|
||||
@@ -9,7 +11,7 @@ const config = {
|
||||
preprocess: [
|
||||
mdsvex({
|
||||
layout: './src/lib/Post.svelte',
|
||||
rehypePlugins: [slug],
|
||||
rehypePlugins: [localPlugins],
|
||||
}),
|
||||
svp.scss(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user