Skip to content

Commit 77df254

Browse files
committed
first commit
0 parents  commit 77df254

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+2918
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.DS_Store
2+
node_modules
3+
/.svelte-kit
4+
/package

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Sveltekit and MDSveX blog :-)

jsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"$lib/*": ["src/lib/*"]
6+
}
7+
},
8+
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
9+
}

mdsvex.config.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import abbr from 'remark-abbr';
2+
import slug from 'rehype-slug';
3+
import autolink from 'rehype-autolink-headings';
4+
// import headings from './src/lib/utilities/headings.js';
5+
6+
const config = {
7+
extensions: ['.svx', '.md', '.svelte.md'],
8+
layout: './src/lib/MDLayout.svelte',
9+
smartypants: {
10+
dashes: 'oldschool',
11+
},
12+
remarkPlugins: [
13+
abbr,
14+
// headings()
15+
],
16+
rehypePlugins: [
17+
slug,
18+
[ autolink, { behavior: 'wrap' } ]
19+
]
20+
};
21+
22+
export default config;

0 commit comments

Comments
 (0)