-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmdsvex.config.cjs
37 lines (37 loc) · 983 Bytes
/
mdsvex.config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
module.exports = {
extensions: [".svelte.md", ".md", ".svx"],
smartypants: {
dashes: "oldschool",
},
remarkPlugins: [
[
require("remark-github"),
{
// Use your own repository
repository: "https://github.com/svelte-add/mdsvex.git",
},
],
require("remark-abbr"),
],
rehypePlugins: [
require("rehype-slug"),
[
require("rehype-autolink-headings"),
{
behavior: "wrap",
},
],
],
layout: {
about: "./src/layouts/About.svelte",
collaborate: "./src/layouts/Collaborate.svelte",
home: "./src/layouts/Home.svelte",
news: "./src/layouts/NewsItem.svelte",
openlab: "./src/layouts/OpenLabEvent.svelte",
outputs: "./src/layouts/Outputs.svelte",
researchproject: "./src/layouts/ResearchProject.svelte",
people: "./src/layouts/People.svelte",
events: "./src/layouts/Events/Events.svelte",
movingstrings: "./src/layouts/Events/MovingStrings.svelte"
},
};