Comparing version 0.8.5 to 0.8.6
@@ -172,2 +172,11 @@ /// <reference types="node" /> | ||
/** | ||
* **extensions** - the extensions to use for mdsvex files. {@link https://mdsvex.com/docs#extensions More details.} | ||
* | ||
* *example:* | ||
* ```js | ||
* extensions: [".svexy"], | ||
* ``` | ||
*/ | ||
extensions?: string[]; | ||
/** | ||
* **layout** - A string defining a single layout to use for everything or an object of named layouts. When using names layouts, a key of `_` will define the fallback layout. Default: `undefined` (no layouts). {@link https://mdsvex.com/docs#layouts More details.} | ||
@@ -222,2 +231,3 @@ * | ||
* - `extension` - The extension to use for mdsvex files | ||
* - `extensions` - The extensions to use for mdsvex files | ||
* - `layout` - Layouts to apply to mdsvex documents | ||
@@ -240,2 +250,3 @@ * - `frontmatter` - frontmatter options for documents | ||
* - `extension` - The extension to use for mdsvex files | ||
* - `extensions` - The extensions to use for mdsvex files | ||
* - `layout` - Layouts to apply to mdsvex documents | ||
@@ -242,0 +253,0 @@ * - `frontmatter` - frontmatter options for documents |
@@ -172,2 +172,11 @@ /// <reference types="node" /> | ||
/** | ||
* **extensions** - the extensions to use for mdsvex files. {@link https://mdsvex.com/docs#extensions More details.} | ||
* | ||
* *example:* | ||
* ```js | ||
* extensions: [".svexy"], | ||
* ``` | ||
*/ | ||
extensions?: string[]; | ||
/** | ||
* **layout** - A string defining a single layout to use for everything or an object of named layouts. When using names layouts, a key of `_` will define the fallback layout. Default: `undefined` (no layouts). {@link https://mdsvex.com/docs#layouts More details.} | ||
@@ -222,2 +231,3 @@ * | ||
* - `extension` - The extension to use for mdsvex files | ||
* - `extensions` - The extensions to use for mdsvex files | ||
* - `layout` - Layouts to apply to mdsvex documents | ||
@@ -240,2 +250,3 @@ * - `frontmatter` - frontmatter options for documents | ||
* - `extension` - The extension to use for mdsvex files | ||
* - `extensions` - The extensions to use for mdsvex files | ||
* - `layout` - Layouts to apply to mdsvex documents | ||
@@ -242,0 +253,0 @@ * - `frontmatter` - frontmatter options for documents |
{ | ||
"name": "mdsvex", | ||
"version": "0.8.5", | ||
"version": "0.8.6", | ||
"description": "Markdown preprocessor for Svelte", | ||
@@ -11,5 +11,2 @@ "main": "dist/main.cjs.js", | ||
"build": "rollup -c", | ||
"lint": "eslint 'src/' 'test/' --ext .js,.ts", | ||
"test": "uvu -r ts-node/register test test.ts$", | ||
"generate_files": "node -r esm ./test/_scripts/generate_markdown_html.js", | ||
"types": "dts-generator --project . --out dist/main.es.d.ts" | ||
@@ -38,16 +35,8 @@ }, | ||
"@types/js-yaml": "^3.12.5", | ||
"@types/node": "^14.0.27", | ||
"@typescript-eslint/eslint-plugin": "^3.9.0", | ||
"@typescript-eslint/parser": "^3.9.0", | ||
"escape-html": "^1.0.3", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.10.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"esm": "^3.2.25", | ||
"front-matter": "^4.0.0", | ||
"js-yaml": "^3.13.1", | ||
"node-fetch": "^2.6.0", | ||
"prettier": "^2.0.5", | ||
"prettier-eslint": "^9.0.0", | ||
"prism-svelte": "^0.4.6", | ||
"rehype-slug": "^3.0.0", | ||
@@ -74,6 +63,3 @@ "rehype-toc": "^3.0.1", | ||
"toml": "^3.0.0", | ||
"ts-node": "^8.10.2", | ||
"typescript": "^3.9.7", | ||
"unified": "^9.1.0", | ||
"uvu": "^0.0.14", | ||
"vfile": "^4.2.0" | ||
@@ -80,0 +66,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2734808
37
88353