initial work on sidenotes

This commit is contained in:
2021-10-25 08:09:37 -07:00
parent 14d74ccdee
commit d6cbd1487c
7 changed files with 4245 additions and 12 deletions

View File

@@ -1,14 +1,18 @@
import { mdsvex } from 'mdsvex';
import staticAdapter from '@sveltejs/adapter-static';
import svp from 'svelte-preprocess';
import slug from './src/lib/slug.js';
const config = {
extensions: ['.svelte', '.svx'],
preprocess: mdsvex({
layout: './src/lib/Post.svelte',
rehypePlugins: [slug],
}),
preprocess: [
mdsvex({
layout: './src/lib/Post.svelte',
rehypePlugins: [slug],
}),
svp.scss(),
],
kit: {
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte',