Skip to content

Commit 1f2ce9d

Browse files
committed
v0.3.1: version fixes
1 parent 7e02ff3 commit 1f2ce9d

File tree

7 files changed

+416
-3786
lines changed

7 files changed

+416
-3786
lines changed

directives.config.js renamed to csp.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
export const directives = (dev, rootDomain) => {
2+
export const csp = (dev, rootDomain) => {
33
return {
44
'base-uri': ['self'],
55
'child-src': ['self'],

mdsvex.config.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { defineMDSveXConfig as defineConfig } from 'mdsvex'
2+
import slug from 'remark-slug'
3+
import { plugin, linkify } from './remark.plugins.js'
4+
5+
const config = defineConfig({
6+
extensions: ['.md', '.svx'],
7+
remarkPlugins: [ plugin, slug, linkify ],
8+
layout: {
9+
overview: './src/lib/layouts/overview.svelte',
10+
component: './src/lib/layouts/component.svelte',
11+
_: './src/lib/layouts/component.svelte',
12+
}
13+
})
14+
15+
export default config

0 commit comments

Comments
 (0)