License
Browse files- mdsvex.config.js +14 -0
- package-lock.json +163 -0
- package.json +2 -0
- src/routes/+page.svelte +14 -0
- svelte.config.js +5 -1
- tailwind.config.cjs +1 -1
mdsvex.config.js
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { defineMDSveXConfig as defineConfig } from 'mdsvex';
|
2 |
+
|
3 |
+
const config = defineConfig({
|
4 |
+
extensions: ['.svelte', '.md', '.svx'],
|
5 |
+
|
6 |
+
smartypants: {
|
7 |
+
dashes: 'oldschool'
|
8 |
+
},
|
9 |
+
|
10 |
+
remarkPlugins: [],
|
11 |
+
rehypePlugins: []
|
12 |
+
});
|
13 |
+
|
14 |
+
export default config;
|
package-lock.json
CHANGED
@@ -14,12 +14,14 @@
|
|
14 |
"@sveltejs/adapter-auto": "next",
|
15 |
"@sveltejs/adapter-static": "^1.0.0-next.39",
|
16 |
"@sveltejs/kit": "next",
|
|
|
17 |
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
18 |
"@typescript-eslint/parser": "^5.27.0",
|
19 |
"autoprefixer": "^10.4.8",
|
20 |
"eslint": "^8.16.0",
|
21 |
"eslint-config-prettier": "^8.3.0",
|
22 |
"eslint-plugin-svelte3": "^4.0.0",
|
|
|
23 |
"postcss": "^8.4.16",
|
24 |
"prettier": "^2.6.2",
|
25 |
"prettier-plugin-svelte": "^2.7.0",
|
@@ -337,6 +339,20 @@
|
|
337 |
}
|
338 |
}
|
339 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340 |
"node_modules/@types/json-schema": {
|
341 |
"version": "7.0.11",
|
342 |
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz",
|
@@ -364,6 +380,12 @@
|
|
364 |
"@types/node": "*"
|
365 |
}
|
366 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
"node_modules/@typescript-eslint/eslint-plugin": {
|
368 |
"version": "5.34.0",
|
369 |
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.34.0.tgz",
|
@@ -2358,6 +2380,18 @@
|
|
2358 |
"url": "https://github.com/sponsors/sindresorhus"
|
2359 |
}
|
2360 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2361 |
"node_modules/lodash.merge": {
|
2362 |
"version": "4.6.2",
|
2363 |
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
@@ -2412,6 +2446,21 @@
|
|
2412 |
"semver": "bin/semver.js"
|
2413 |
}
|
2414 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2415 |
"node_modules/merge2": {
|
2416 |
"version": "1.4.1",
|
2417 |
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
@@ -2967,6 +3016,21 @@
|
|
2967 |
"svelte": "^3.2.0"
|
2968 |
}
|
2969 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2970 |
"node_modules/punycode": {
|
2971 |
"version": "2.1.1",
|
2972 |
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
|
@@ -3717,6 +3781,19 @@
|
|
3717 |
"node": ">=12.18"
|
3718 |
}
|
3719 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3720 |
"node_modules/update-browserslist-db": {
|
3721 |
"version": "1.0.5",
|
3722 |
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz",
|
@@ -3764,6 +3841,20 @@
|
|
3764 |
"integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
|
3765 |
"dev": true
|
3766 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3767 |
"node_modules/vite": {
|
3768 |
"version": "3.0.9",
|
3769 |
"resolved": "https://registry.npmjs.org/vite/-/vite-3.0.9.tgz",
|
@@ -4155,6 +4246,17 @@
|
|
4155 |
"svelte-hmr": "^0.14.12"
|
4156 |
}
|
4157 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4158 |
"@types/json-schema": {
|
4159 |
"version": "7.0.11",
|
4160 |
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz",
|
@@ -4182,6 +4284,12 @@
|
|
4182 |
"@types/node": "*"
|
4183 |
}
|
4184 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
4185 |
"@typescript-eslint/eslint-plugin": {
|
4186 |
"version": "5.34.0",
|
4187 |
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.34.0.tgz",
|
@@ -5519,6 +5627,18 @@
|
|
5519 |
"p-locate": "^5.0.0"
|
5520 |
}
|
5521 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5522 |
"lodash.merge": {
|
5523 |
"version": "4.6.2",
|
5524 |
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
@@ -5560,6 +5680,18 @@
|
|
5560 |
}
|
5561 |
}
|
5562 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5563 |
"merge2": {
|
5564 |
"version": "1.4.1",
|
5565 |
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
@@ -5918,6 +6050,18 @@
|
|
5918 |
"dev": true,
|
5919 |
"requires": {}
|
5920 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5921 |
"punycode": {
|
5922 |
"version": "2.1.1",
|
5923 |
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
|
@@ -6417,6 +6561,15 @@
|
|
6417 |
"integrity": "sha512-c8HsD3IbwmjjbLvoZuRI26TZic+TSEe8FPMLLOkN1AfYRhdjnKBU6yL+IwcSCbdZiX4e5t0lfMDLDCqj4Sq70g==",
|
6418 |
"dev": true
|
6419 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6420 |
"update-browserslist-db": {
|
6421 |
"version": "1.0.5",
|
6422 |
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz",
|
@@ -6448,6 +6601,16 @@
|
|
6448 |
"integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
|
6449 |
"dev": true
|
6450 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6451 |
"vite": {
|
6452 |
"version": "3.0.9",
|
6453 |
"resolved": "https://registry.npmjs.org/vite/-/vite-3.0.9.tgz",
|
|
|
14 |
"@sveltejs/adapter-auto": "next",
|
15 |
"@sveltejs/adapter-static": "^1.0.0-next.39",
|
16 |
"@sveltejs/kit": "next",
|
17 |
+
"@tailwindcss/typography": "^0.5.4",
|
18 |
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
19 |
"@typescript-eslint/parser": "^5.27.0",
|
20 |
"autoprefixer": "^10.4.8",
|
21 |
"eslint": "^8.16.0",
|
22 |
"eslint-config-prettier": "^8.3.0",
|
23 |
"eslint-plugin-svelte3": "^4.0.0",
|
24 |
+
"mdsvex": "^0.10.6",
|
25 |
"postcss": "^8.4.16",
|
26 |
"prettier": "^2.6.2",
|
27 |
"prettier-plugin-svelte": "^2.7.0",
|
|
|
339 |
}
|
340 |
}
|
341 |
},
|
342 |
+
"node_modules/@tailwindcss/typography": {
|
343 |
+
"version": "0.5.4",
|
344 |
+
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.4.tgz",
|
345 |
+
"integrity": "sha512-QEdg40EmGvE7kKoDei8zr5sf4D1pIayHj4R31bH3lX8x2BtTiR+jNejYPOkhbmy3DXgkMF9jC8xqNiGFAuL9Sg==",
|
346 |
+
"dev": true,
|
347 |
+
"dependencies": {
|
348 |
+
"lodash.castarray": "^4.4.0",
|
349 |
+
"lodash.isplainobject": "^4.0.6",
|
350 |
+
"lodash.merge": "^4.6.2"
|
351 |
+
},
|
352 |
+
"peerDependencies": {
|
353 |
+
"tailwindcss": ">=3.0.0 || insiders"
|
354 |
+
}
|
355 |
+
},
|
356 |
"node_modules/@types/json-schema": {
|
357 |
"version": "7.0.11",
|
358 |
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz",
|
|
|
380 |
"@types/node": "*"
|
381 |
}
|
382 |
},
|
383 |
+
"node_modules/@types/unist": {
|
384 |
+
"version": "2.0.6",
|
385 |
+
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz",
|
386 |
+
"integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==",
|
387 |
+
"dev": true
|
388 |
+
},
|
389 |
"node_modules/@typescript-eslint/eslint-plugin": {
|
390 |
"version": "5.34.0",
|
391 |
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.34.0.tgz",
|
|
|
2380 |
"url": "https://github.com/sponsors/sindresorhus"
|
2381 |
}
|
2382 |
},
|
2383 |
+
"node_modules/lodash.castarray": {
|
2384 |
+
"version": "4.4.0",
|
2385 |
+
"resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz",
|
2386 |
+
"integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==",
|
2387 |
+
"dev": true
|
2388 |
+
},
|
2389 |
+
"node_modules/lodash.isplainobject": {
|
2390 |
+
"version": "4.0.6",
|
2391 |
+
"resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
|
2392 |
+
"integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==",
|
2393 |
+
"dev": true
|
2394 |
+
},
|
2395 |
"node_modules/lodash.merge": {
|
2396 |
"version": "4.6.2",
|
2397 |
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
|
|
2446 |
"semver": "bin/semver.js"
|
2447 |
}
|
2448 |
},
|
2449 |
+
"node_modules/mdsvex": {
|
2450 |
+
"version": "0.10.6",
|
2451 |
+
"resolved": "https://registry.npmjs.org/mdsvex/-/mdsvex-0.10.6.tgz",
|
2452 |
+
"integrity": "sha512-aGRDY0r5jx9+OOgFdyB9Xm3EBr9OUmcrTDPWLB7a7g8VPRxzPy4MOBmcVYgz7ErhAJ7bZ/coUoj6aHio3x/2mA==",
|
2453 |
+
"dev": true,
|
2454 |
+
"dependencies": {
|
2455 |
+
"@types/unist": "^2.0.3",
|
2456 |
+
"prism-svelte": "^0.4.7",
|
2457 |
+
"prismjs": "^1.17.1",
|
2458 |
+
"vfile-message": "^2.0.4"
|
2459 |
+
},
|
2460 |
+
"peerDependencies": {
|
2461 |
+
"svelte": "3.x"
|
2462 |
+
}
|
2463 |
+
},
|
2464 |
"node_modules/merge2": {
|
2465 |
"version": "1.4.1",
|
2466 |
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
|
|
3016 |
"svelte": "^3.2.0"
|
3017 |
}
|
3018 |
},
|
3019 |
+
"node_modules/prism-svelte": {
|
3020 |
+
"version": "0.4.7",
|
3021 |
+
"resolved": "https://registry.npmjs.org/prism-svelte/-/prism-svelte-0.4.7.tgz",
|
3022 |
+
"integrity": "sha512-yABh19CYbM24V7aS7TuPYRNMqthxwbvx6FF/Rw920YbyBWO3tnyPIqRMgHuSVsLmuHkkBS1Akyof463FVdkeDQ==",
|
3023 |
+
"dev": true
|
3024 |
+
},
|
3025 |
+
"node_modules/prismjs": {
|
3026 |
+
"version": "1.29.0",
|
3027 |
+
"resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz",
|
3028 |
+
"integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==",
|
3029 |
+
"dev": true,
|
3030 |
+
"engines": {
|
3031 |
+
"node": ">=6"
|
3032 |
+
}
|
3033 |
+
},
|
3034 |
"node_modules/punycode": {
|
3035 |
"version": "2.1.1",
|
3036 |
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
|
|
|
3781 |
"node": ">=12.18"
|
3782 |
}
|
3783 |
},
|
3784 |
+
"node_modules/unist-util-stringify-position": {
|
3785 |
+
"version": "2.0.3",
|
3786 |
+
"resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz",
|
3787 |
+
"integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==",
|
3788 |
+
"dev": true,
|
3789 |
+
"dependencies": {
|
3790 |
+
"@types/unist": "^2.0.2"
|
3791 |
+
},
|
3792 |
+
"funding": {
|
3793 |
+
"type": "opencollective",
|
3794 |
+
"url": "https://opencollective.com/unified"
|
3795 |
+
}
|
3796 |
+
},
|
3797 |
"node_modules/update-browserslist-db": {
|
3798 |
"version": "1.0.5",
|
3799 |
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz",
|
|
|
3841 |
"integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
|
3842 |
"dev": true
|
3843 |
},
|
3844 |
+
"node_modules/vfile-message": {
|
3845 |
+
"version": "2.0.4",
|
3846 |
+
"resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz",
|
3847 |
+
"integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==",
|
3848 |
+
"dev": true,
|
3849 |
+
"dependencies": {
|
3850 |
+
"@types/unist": "^2.0.0",
|
3851 |
+
"unist-util-stringify-position": "^2.0.0"
|
3852 |
+
},
|
3853 |
+
"funding": {
|
3854 |
+
"type": "opencollective",
|
3855 |
+
"url": "https://opencollective.com/unified"
|
3856 |
+
}
|
3857 |
+
},
|
3858 |
"node_modules/vite": {
|
3859 |
"version": "3.0.9",
|
3860 |
"resolved": "https://registry.npmjs.org/vite/-/vite-3.0.9.tgz",
|
|
|
4246 |
"svelte-hmr": "^0.14.12"
|
4247 |
}
|
4248 |
},
|
4249 |
+
"@tailwindcss/typography": {
|
4250 |
+
"version": "0.5.4",
|
4251 |
+
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.4.tgz",
|
4252 |
+
"integrity": "sha512-QEdg40EmGvE7kKoDei8zr5sf4D1pIayHj4R31bH3lX8x2BtTiR+jNejYPOkhbmy3DXgkMF9jC8xqNiGFAuL9Sg==",
|
4253 |
+
"dev": true,
|
4254 |
+
"requires": {
|
4255 |
+
"lodash.castarray": "^4.4.0",
|
4256 |
+
"lodash.isplainobject": "^4.0.6",
|
4257 |
+
"lodash.merge": "^4.6.2"
|
4258 |
+
}
|
4259 |
+
},
|
4260 |
"@types/json-schema": {
|
4261 |
"version": "7.0.11",
|
4262 |
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz",
|
|
|
4284 |
"@types/node": "*"
|
4285 |
}
|
4286 |
},
|
4287 |
+
"@types/unist": {
|
4288 |
+
"version": "2.0.6",
|
4289 |
+
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz",
|
4290 |
+
"integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==",
|
4291 |
+
"dev": true
|
4292 |
+
},
|
4293 |
"@typescript-eslint/eslint-plugin": {
|
4294 |
"version": "5.34.0",
|
4295 |
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.34.0.tgz",
|
|
|
5627 |
"p-locate": "^5.0.0"
|
5628 |
}
|
5629 |
},
|
5630 |
+
"lodash.castarray": {
|
5631 |
+
"version": "4.4.0",
|
5632 |
+
"resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz",
|
5633 |
+
"integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==",
|
5634 |
+
"dev": true
|
5635 |
+
},
|
5636 |
+
"lodash.isplainobject": {
|
5637 |
+
"version": "4.0.6",
|
5638 |
+
"resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
|
5639 |
+
"integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==",
|
5640 |
+
"dev": true
|
5641 |
+
},
|
5642 |
"lodash.merge": {
|
5643 |
"version": "4.6.2",
|
5644 |
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
|
|
5680 |
}
|
5681 |
}
|
5682 |
},
|
5683 |
+
"mdsvex": {
|
5684 |
+
"version": "0.10.6",
|
5685 |
+
"resolved": "https://registry.npmjs.org/mdsvex/-/mdsvex-0.10.6.tgz",
|
5686 |
+
"integrity": "sha512-aGRDY0r5jx9+OOgFdyB9Xm3EBr9OUmcrTDPWLB7a7g8VPRxzPy4MOBmcVYgz7ErhAJ7bZ/coUoj6aHio3x/2mA==",
|
5687 |
+
"dev": true,
|
5688 |
+
"requires": {
|
5689 |
+
"@types/unist": "^2.0.3",
|
5690 |
+
"prism-svelte": "^0.4.7",
|
5691 |
+
"prismjs": "^1.17.1",
|
5692 |
+
"vfile-message": "^2.0.4"
|
5693 |
+
}
|
5694 |
+
},
|
5695 |
"merge2": {
|
5696 |
"version": "1.4.1",
|
5697 |
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
|
|
6050 |
"dev": true,
|
6051 |
"requires": {}
|
6052 |
},
|
6053 |
+
"prism-svelte": {
|
6054 |
+
"version": "0.4.7",
|
6055 |
+
"resolved": "https://registry.npmjs.org/prism-svelte/-/prism-svelte-0.4.7.tgz",
|
6056 |
+
"integrity": "sha512-yABh19CYbM24V7aS7TuPYRNMqthxwbvx6FF/Rw920YbyBWO3tnyPIqRMgHuSVsLmuHkkBS1Akyof463FVdkeDQ==",
|
6057 |
+
"dev": true
|
6058 |
+
},
|
6059 |
+
"prismjs": {
|
6060 |
+
"version": "1.29.0",
|
6061 |
+
"resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz",
|
6062 |
+
"integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==",
|
6063 |
+
"dev": true
|
6064 |
+
},
|
6065 |
"punycode": {
|
6066 |
"version": "2.1.1",
|
6067 |
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
|
|
|
6561 |
"integrity": "sha512-c8HsD3IbwmjjbLvoZuRI26TZic+TSEe8FPMLLOkN1AfYRhdjnKBU6yL+IwcSCbdZiX4e5t0lfMDLDCqj4Sq70g==",
|
6562 |
"dev": true
|
6563 |
},
|
6564 |
+
"unist-util-stringify-position": {
|
6565 |
+
"version": "2.0.3",
|
6566 |
+
"resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz",
|
6567 |
+
"integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==",
|
6568 |
+
"dev": true,
|
6569 |
+
"requires": {
|
6570 |
+
"@types/unist": "^2.0.2"
|
6571 |
+
}
|
6572 |
+
},
|
6573 |
"update-browserslist-db": {
|
6574 |
"version": "1.0.5",
|
6575 |
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz",
|
|
|
6601 |
"integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
|
6602 |
"dev": true
|
6603 |
},
|
6604 |
+
"vfile-message": {
|
6605 |
+
"version": "2.0.4",
|
6606 |
+
"resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz",
|
6607 |
+
"integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==",
|
6608 |
+
"dev": true,
|
6609 |
+
"requires": {
|
6610 |
+
"@types/unist": "^2.0.0",
|
6611 |
+
"unist-util-stringify-position": "^2.0.0"
|
6612 |
+
}
|
6613 |
+
},
|
6614 |
"vite": {
|
6615 |
"version": "3.0.9",
|
6616 |
"resolved": "https://registry.npmjs.org/vite/-/vite-3.0.9.tgz",
|
package.json
CHANGED
@@ -16,12 +16,14 @@
|
|
16 |
"@sveltejs/adapter-auto": "next",
|
17 |
"@sveltejs/adapter-static": "^1.0.0-next.39",
|
18 |
"@sveltejs/kit": "next",
|
|
|
19 |
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
20 |
"@typescript-eslint/parser": "^5.27.0",
|
21 |
"autoprefixer": "^10.4.8",
|
22 |
"eslint": "^8.16.0",
|
23 |
"eslint-config-prettier": "^8.3.0",
|
24 |
"eslint-plugin-svelte3": "^4.0.0",
|
|
|
25 |
"postcss": "^8.4.16",
|
26 |
"prettier": "^2.6.2",
|
27 |
"prettier-plugin-svelte": "^2.7.0",
|
|
|
16 |
"@sveltejs/adapter-auto": "next",
|
17 |
"@sveltejs/adapter-static": "^1.0.0-next.39",
|
18 |
"@sveltejs/kit": "next",
|
19 |
+
"@tailwindcss/typography": "^0.5.4",
|
20 |
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
21 |
"@typescript-eslint/parser": "^5.27.0",
|
22 |
"autoprefixer": "^10.4.8",
|
23 |
"eslint": "^8.16.0",
|
24 |
"eslint-config-prettier": "^8.3.0",
|
25 |
"eslint-plugin-svelte3": "^4.0.0",
|
26 |
+
"mdsvex": "^0.10.6",
|
27 |
"postcss": "^8.4.16",
|
28 |
"prettier": "^2.6.2",
|
29 |
"prettier-plugin-svelte": "^2.7.0",
|
src/routes/+page.svelte
CHANGED
@@ -359,3 +359,17 @@
|
|
359 |
</div>
|
360 |
</div>
|
361 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
</div>
|
360 |
</div>
|
361 |
</div>
|
362 |
+
|
363 |
+
|
364 |
+
<article class="prose-sm px-24">
|
365 |
+
|
366 |
+
Model by [CompVis](https://huggingface.co/CompVis) and [Stability AI](https://huggingface.co/stabilityai) - Demo by 🤗 Hugging Face
|
367 |
+
|
368 |
+
Powered by [🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch](https://github.com/huggingface/diffusers). Based on [notebook by @psuraj28](https://twitter.com/psuraj28/status/1562039265126670339)
|
369 |
+
|
370 |
+
### LICENSE
|
371 |
+
The model is licensed with a [CreativeML Open RAIL-M](https://huggingface.co/spaces/CompVis/stable-diffusion-license) license. The authors claim no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in this license. The license forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, spread misinformation and target vulnerable groups. For the full list of restrictions please [read the license](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
372 |
+
|
373 |
+
### Biases and content acknowledgment
|
374 |
+
Despite how impressive being able to turn text into image is, beware to the fact that this model may output content that reinforces or exacerbates societal biases, as well as realistic faces, pornography and violence. The model was trained on the [LAION-5B dataset](https://laion.ai/blog/laion-5b/), which scraped non-curated image-text-pairs from the internet (the exception being the removal of illegal content) and is meant for research purposes. You can read more in the [model card](https://huggingface.co/CompVis/stable-diffusion-v1-4)
|
375 |
+
</article>
|
svelte.config.js
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import adapter from '@sveltejs/adapter-static';
|
2 |
import preprocess from 'svelte-preprocess';
|
3 |
|
@@ -5,9 +7,11 @@ const dev = process.env.NODE_ENV === 'development';
|
|
5 |
|
6 |
/** @type {import('@sveltejs/kit').Config} */
|
7 |
const config = {
|
|
|
|
|
8 |
// Consult https://github.com/sveltejs/svelte-preprocess
|
9 |
// for more information about preprocessors
|
10 |
-
preprocess: preprocess(),
|
11 |
|
12 |
kit: {
|
13 |
paths: {
|
|
|
1 |
+
import { mdsvex } from 'mdsvex';
|
2 |
+
import mdsvexConfig from './mdsvex.config.js';
|
3 |
import adapter from '@sveltejs/adapter-static';
|
4 |
import preprocess from 'svelte-preprocess';
|
5 |
|
|
|
7 |
|
8 |
/** @type {import('@sveltejs/kit').Config} */
|
9 |
const config = {
|
10 |
+
extensions: ['.svelte', ...mdsvexConfig.extensions],
|
11 |
+
|
12 |
// Consult https://github.com/sveltejs/svelte-preprocess
|
13 |
// for more information about preprocessors
|
14 |
+
preprocess: [preprocess(), mdsvex(mdsvexConfig)],
|
15 |
|
16 |
kit: {
|
17 |
paths: {
|
tailwind.config.cjs
CHANGED
@@ -12,5 +12,5 @@ module.exports = {
|
|
12 |
}
|
13 |
}
|
14 |
},
|
15 |
-
plugins: []
|
16 |
};
|
|
|
12 |
}
|
13 |
}
|
14 |
},
|
15 |
+
plugins: [require('@tailwindcss/typography'),]
|
16 |
};
|