Comparing version 0.10.2 to 0.10.3
import { VFileMessage } from 'vfile-message'; | ||
import { Plugin, Settings } from 'unified'; | ||
/** | ||
* mdsvex representation of a language | ||
*/ | ||
interface MdsvexLanguage { | ||
aliases: Set<unknown>; | ||
name: string; | ||
path: string; | ||
deps: Set<string>; | ||
} | ||
interface FrontmatterOptions { | ||
@@ -230,4 +221,2 @@ /** | ||
declare const defineConfig: (config: MdsvexOptions) => MdsvexOptions; | ||
/** | ||
@@ -269,2 +258,2 @@ * The svelte preprocessor for use with svelte.preprocess | ||
export { MdsvexCompileOptions, MdsvexLanguage, MdsvexOptions, _compile as compile, defineConfig as defineMDSveXConfig, escape_svelty as escapeSvelte, mdsvex }; | ||
export { _compile as compile, escape_svelty as escapeSvelte, mdsvex }; |
import { VFileMessage } from 'vfile-message'; | ||
import { Plugin, Settings } from 'unified'; | ||
/** | ||
* mdsvex representation of a language | ||
*/ | ||
interface MdsvexLanguage { | ||
aliases: Set<unknown>; | ||
name: string; | ||
path: string; | ||
deps: Set<string>; | ||
} | ||
interface FrontmatterOptions { | ||
@@ -230,4 +221,2 @@ /** | ||
declare const defineConfig: (config: MdsvexOptions) => MdsvexOptions; | ||
/** | ||
@@ -269,2 +258,2 @@ * The svelte preprocessor for use with svelte.preprocess | ||
export { MdsvexCompileOptions, MdsvexLanguage, MdsvexOptions, _compile as compile, defineConfig as defineMDSveXConfig, escape_svelty as escapeSvelte, mdsvex }; | ||
export { _compile as compile, escape_svelty as escapeSvelte, mdsvex }; |
{ | ||
"name": "mdsvex", | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"description": "Markdown preprocessor for Svelte", | ||
@@ -68,5 +68,6 @@ "main": "dist/main.cjs.js", | ||
"scripts": { | ||
"build": "rollup -c" | ||
"build": "rollup -c", | ||
"types": "dts-generator --project . --out dist/main.es.d.ts" | ||
}, | ||
"readme": "# MDsveX\n\n_do ya think I'm svexy?_\n\nA markdown preprocessor for Svelte components. Basically [MDX](https://github.com/mdx-js/mdx) for Svelte.\n\nThis preprocessor allows you use Svelte components in your markdown, or markdown in your svelte components.\n\n[Try it](https://mdsvex.com/)\n\nYou can do this:\n\n```jsx\n<script>\n import { Chart } from '../components/Chart.svelte';\n</script>\n\n# Here’s a chart\n\nThe chart is rendered inside our MDsveX document.\n\n<Chart />\n```\n\nhttps://mdsvex.com/\n" | ||
} |
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
Sorry, the diff of this file is too big to display
4500792
9
125695