{"_id":"@accuser/svelte-markdown-math","_rev":"3-996d53cd5bfb8af361bb0d1c1b10ca08","name":"@accuser/svelte-markdown-math","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@accuser/svelte-markdown-math","version":"0.0.1","keywords":["katex","markdown","math","mdast","svelte","sveltekit"],"author":{"url":"https://github.com/accuser","name":"Matthew Gibbons","email":"mhgibbons@me.com"},"license":"MIT","_id":"@accuser/svelte-markdown-math@0.0.1","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"homepage":"https://github.com/accuser/svelte-markdown-math","bugs":{"url":"https://github.com/accuser/svelte-markdown-math/issues"},"dist":{"shasum":"3b29d1b3a0f8806d36b8366c147169ef8122b362","tarball":"https://registry.npmjs.org/@accuser/svelte-markdown-math/-/svelte-markdown-math-0.0.1.tgz","fileCount":11,"integrity":"sha512-j/I17BkZO5WgJ7Z6+ceqf/AP2L5TNGjdSnWWlENkc9yskT1xufA31cHFWpAQNgJC/l0VxvJdZbEL9QXF5fTUsg==","signatures":[{"sig":"MEYCIQC3WxOv05y+QgZSlw33aW2kKguCrZz5AbAVhs5GlXVC7QIhAOS+XT4PHbqlnGldU24JrSPAajnug+9ueBMFJdR+yO4w","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8530},"type":"module","_from":"file:accuser-svelte-markdown-math-0.0.1.tgz","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"private":false,"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"vitest","build":"vite build && pnpm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","format":"prettier --write .","package":"svelte-kit sync && svelte-package && publint","preview":"vite preview","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"accuser","email":"mhgibbons@me.com"},"_resolved":"/tmp/4eda7132fdd2a77c51c1ab694d2e1ddf/accuser-svelte-markdown-math-0.0.1.tgz","_integrity":"sha512-j/I17BkZO5WgJ7Z6+ceqf/AP2L5TNGjdSnWWlENkc9yskT1xufA31cHFWpAQNgJC/l0VxvJdZbEL9QXF5fTUsg==","repository":{"url":"git+https://github.com/accuser/svelte-markdown-math.git","type":"git"},"_npmVersion":"10.8.2","description":"Transforms Markdown source (as a `string`) or a [Markdown AST](https://github.com/syntax-tree/mdast) into Svelte components.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"katex":"^0.16.11","@types/mdast":"^4.0.4","mdast-util-math":"^3.0.0","mdast-util-to-string":"^4.0.0","mdast-util-from-markdown":"^2.0.1","micromark-extension-math":"^3.1.0","@accuser/mdast-util-type-guards":"^1.2.0","@accuser/svelte-markdown-provider":"0.2.0-next.7"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.8","jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^9.11.1","svelte":"5.0.0-next.247","vitest":"^2.1.1","globals":"^15.9.0","postcss":"^8.4.47","publint":"^0.2.11","prettier":"^3.3.3","typescript":"^5.6.2","@types/node":"^22.7.2","tailwindcss":"^3.4.13","@types/katex":"^0.16.7","autoprefixer":"^10.4.20","svelte-check":"^4.0.2","@sveltejs/kit":"^2.5.28","@types/eslint":"^9.6.1","@sveltejs/package":"^2.3.5","typescript-eslint":"^8.7.0","@tailwindcss/forms":"^0.5.9","postcss-load-config":"^6.0.1","eslint-plugin-svelte":"^2.44.0","@sveltejs/adapter-auto":"^3.2.5","eslint-config-prettier":"^9.1.0","prettier-plugin-svelte":"^3.2.6","@tailwindcss/typography":"^0.5.15","@testing-library/svelte":"^5.2.1","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.7.0","@sveltejs/vite-plugin-svelte":"4.0.0-next.6","@typescript-eslint/eslint-plugin":"^8.7.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-markdown-math_0.0.1_1727333641015_0.8652595065671134","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@accuser/svelte-markdown-math","version":"0.0.2","keywords":["katex","markdown","math","mdast","svelte","sveltekit"],"author":{"url":"https://github.com/accuser","name":"Matthew Gibbons","email":"mhgibbons@me.com"},"license":"MIT","_id":"@accuser/svelte-markdown-math@0.0.2","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"homepage":"https://github.com/accuser/svelte-markdown-math","bugs":{"url":"https://github.com/accuser/svelte-markdown-math/issues"},"dist":{"shasum":"f0b7f0eedd0f492773ae5102418a6497f405f042","tarball":"https://registry.npmjs.org/@accuser/svelte-markdown-math/-/svelte-markdown-math-0.0.2.tgz","fileCount":11,"integrity":"sha512-K9BVT0zvJn6ghixGAo1NQU42xuJ4jTmX2vG5ISey7DHEReqdIMc3apzB3u/TfMeAVMG00utR6AZFgtdbFr8WFg==","signatures":[{"sig":"MEYCIQDrZSybdrkzjt+JQi3YlQbcQbu7tdaM3gqt3eRW3cVbDwIhALCmFSwr0kx874j6KYU5wHOm8a0DoRHZXwYUanCn7ey6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7055},"type":"module","_from":"file:accuser-svelte-markdown-math-0.0.2.tgz","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"private":false,"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"vitest","build":"vite build && pnpm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","format":"prettier --write .","package":"svelte-kit sync && svelte-package && publint","preview":"vite preview","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"accuser","email":"mhgibbons@me.com"},"_resolved":"/tmp/0319d136a1fc0751a7b1ee5032dbb813/accuser-svelte-markdown-math-0.0.2.tgz","_integrity":"sha512-K9BVT0zvJn6ghixGAo1NQU42xuJ4jTmX2vG5ISey7DHEReqdIMc3apzB3u/TfMeAVMG00utR6AZFgtdbFr8WFg==","repository":{"url":"git+https://github.com/accuser/svelte-markdown-math.git","type":"git"},"_npmVersion":"10.8.2","description":"Transforms Markdown source (as a `string`) or a [Markdown AST](https://github.com/syntax-tree/mdast) into Svelte components.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"katex":"^0.16.11","@types/mdast":"^4.0.4","mdast-util-math":"^3.0.0","mdast-util-to-string":"^4.0.0","mdast-util-from-markdown":"^2.0.1","micromark-extension-math":"^3.1.0","@accuser/mdast-util-type-guards":"^1.2.0","@accuser/svelte-markdown-provider":"0.2.0-next.8"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.8","jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^9.11.1","svelte":"5.0.0-next.247","vitest":"^2.1.1","globals":"^15.9.0","postcss":"^8.4.47","publint":"^0.2.11","prettier":"^3.3.3","typescript":"^5.6.2","@types/node":"^22.7.3","tailwindcss":"^3.4.13","@types/katex":"^0.16.7","autoprefixer":"^10.4.20","svelte-check":"^4.0.3","@sveltejs/kit":"^2.6.0","@types/eslint":"^9.6.1","@sveltejs/package":"^2.3.5","typescript-eslint":"^8.7.0","@tailwindcss/forms":"^0.5.9","postcss-load-config":"^6.0.1","eslint-plugin-svelte":"^2.44.1","@sveltejs/adapter-auto":"^3.2.5","eslint-config-prettier":"^9.1.0","prettier-plugin-svelte":"^3.2.7","@tailwindcss/typography":"^0.5.15","@testing-library/svelte":"^5.2.1","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.7.0","@sveltejs/vite-plugin-svelte":"4.0.0-next.6","@typescript-eslint/eslint-plugin":"^8.7.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-markdown-math_0.0.2_1727415416488_0.8635596383889361","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@accuser/svelte-markdown-math","version":"0.0.3","keywords":["katex","markdown","math","mdast","svelte","sveltekit"],"author":{"url":"https://github.com/accuser","name":"Matthew Gibbons","email":"mhgibbons@me.com"},"license":"MIT","_id":"@accuser/svelte-markdown-math@0.0.3","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"homepage":"https://github.com/accuser/svelte-markdown-math","bugs":{"url":"https://github.com/accuser/svelte-markdown-math/issues"},"dist":{"shasum":"0694c1bd97b2326a2f019876d2fe2b8c6e2c38a5","tarball":"https://registry.npmjs.org/@accuser/svelte-markdown-math/-/svelte-markdown-math-0.0.3.tgz","fileCount":11,"integrity":"sha512-Ap2TRsFcbzAaGCv+Sc7KoT3HtXV5S6MGuDSJscBwt3gwGnMvjMWGfWVwLZZUVwXR+ql1cF/S1aWYZWGqBxIhiA==","signatures":[{"sig":"MEUCIB9gpdfIcPhSs8csTzJzR5RTi/5osu0piqXljezm0C1yAiEAxZ5+n+NjW4BcZbAk/oxVrLwgK0+O1NeDVO3vf6k/uLI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7144},"type":"module","_from":"file:accuser-svelte-markdown-math-0.0.3.tgz","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"private":false,"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"vitest","build":"vite build && pnpm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","format":"prettier --write .","package":"svelte-kit sync && svelte-package && publint","preview":"vite preview","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"accuser","email":"mhgibbons@me.com"},"_resolved":"/tmp/e3b799236ad44bbfd8bc974c56a2142b/accuser-svelte-markdown-math-0.0.3.tgz","_integrity":"sha512-Ap2TRsFcbzAaGCv+Sc7KoT3HtXV5S6MGuDSJscBwt3gwGnMvjMWGfWVwLZZUVwXR+ql1cF/S1aWYZWGqBxIhiA==","repository":{"url":"git+https://github.com/accuser/svelte-markdown-math.git","type":"git"},"_npmVersion":"10.8.2","description":"Transforms Markdown source (as a `string`) or a [Markdown AST](https://github.com/syntax-tree/mdast) into Svelte components.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"katex":"^0.16.11","@types/mdast":"^4.0.4","mdast-util-math":"^3.0.0","mdast-util-to-string":"^4.0.0","mdast-util-from-markdown":"^2.0.1","micromark-extension-math":"^3.1.0","@accuser/mdast-util-type-guards":"^1.2.0","@accuser/svelte-markdown-provider":"0.2.0-next.8"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.8","jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^9.11.1","svelte":"5.0.0-next.247","vitest":"^2.1.1","globals":"^15.9.0","postcss":"^8.4.47","publint":"^0.2.11","prettier":"^3.3.3","typescript":"^5.6.2","@types/node":"^22.7.3","tailwindcss":"^3.4.13","@types/katex":"^0.16.7","autoprefixer":"^10.4.20","svelte-check":"^4.0.3","@sveltejs/kit":"^2.6.0","@types/eslint":"^9.6.1","@sveltejs/package":"^2.3.5","typescript-eslint":"^8.7.0","@tailwindcss/forms":"^0.5.9","postcss-load-config":"^6.0.1","eslint-plugin-svelte":"^2.44.1","@sveltejs/adapter-auto":"^3.2.5","eslint-config-prettier":"^9.1.0","prettier-plugin-svelte":"^3.2.7","@tailwindcss/typography":"^0.5.15","@testing-library/svelte":"^5.2.1","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.7.0","@sveltejs/vite-plugin-svelte":"4.0.0-next.6","@typescript-eslint/eslint-plugin":"^8.7.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-markdown-math_0.0.3_1727421568140_0.9563174580573521","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@accuser/svelte-markdown-math","version":"0.0.4","private":false,"license":"MIT","author":{"name":"Matthew Gibbons","email":"mhgibbons@me.com","url":"https://github.com/accuser"},"keywords":["katex","markdown","math","mdast","svelte","sveltekit"],"homepage":"https://github.com/accuser/svelte-markdown-math","bugs":{"url":"https://github.com/accuser/svelte-markdown-math/issues"},"repository":{"type":"git","url":"git+https://github.com/accuser/svelte-markdown-math.git"},"exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"peerDependencies":{"svelte":"^5.0.0-next.1"},"dependencies":{"@accuser/mdast-util-type-guards":"^1.2.0","@accuser/svelte-markdown-provider":"0.2.0-next.11","@types/mdast":"^4.0.4","katex":"^0.16.11","mdast-util-from-markdown":"^2.0.1","mdast-util-math":"^3.0.0","mdast-util-to-string":"^4.0.0","micromark-extension-math":"^3.1.0"},"devDependencies":{"@sveltejs/adapter-auto":"^3.2.5","@sveltejs/kit":"^2.6.1","@sveltejs/package":"^2.3.5","@sveltejs/vite-plugin-svelte":"4.0.0-next.6","@tailwindcss/forms":"^0.5.9","@tailwindcss/typography":"^0.5.15","@testing-library/jest-dom":"^6.5.0","@types/eslint":"^9.6.1","@types/katex":"^0.16.7","@types/node":"^22.7.4","@typescript-eslint/eslint-plugin":"^8.7.0","@typescript-eslint/parser":"^8.7.0","autoprefixer":"^10.4.20","eslint":"^9.11.1","eslint-config-prettier":"^9.1.0","eslint-plugin-svelte":"^2.44.1","globals":"^15.9.0","jsdom":"^25.0.1","postcss":"^8.4.47","postcss-load-config":"^6.0.1","prettier":"^3.3.3","prettier-plugin-svelte":"^3.2.7","publint":"^0.2.11","svelte":"5.0.0-next.260","svelte-check":"^4.0.4","tailwindcss":"^3.4.13","tslib":"^2.7.0","typescript":"^5.6.2","typescript-eslint":"^8.7.0","vite":"^5.4.8","vitest":"^2.1.1"},"svelte":"./dist/index.js","types":"./dist/index.d.ts","type":"module","scripts":{"dev":"vite dev","build":"vite build && pnpm run package","preview":"vite preview","package":"svelte-kit sync && svelte-package && publint","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","test":"vitest","lint":"prettier --check . && eslint .","format":"prettier --write ."},"_id":"@accuser/svelte-markdown-math@0.0.4","description":"Transforms Markdown source (as a `string`) or a [Markdown AST](https://github.com/syntax-tree/mdast) into Svelte components.","_integrity":"sha512-17Gou4tF0hlp/4u7GnG/2xBy2pSWwWMaZ/JPt1/zP8uZkfPTIRhYAk1v7rrOXv8K3IUtPLTOHU/JALt5wM/5cA==","_resolved":"/tmp/c0ba72d8c0c0138bc79fc6e8f7f36a7a/accuser-svelte-markdown-math-0.0.4.tgz","_from":"file:accuser-svelte-markdown-math-0.0.4.tgz","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-17Gou4tF0hlp/4u7GnG/2xBy2pSWwWMaZ/JPt1/zP8uZkfPTIRhYAk1v7rrOXv8K3IUtPLTOHU/JALt5wM/5cA==","shasum":"e720ff916116f7a5552a2f1a37aaa8b63c568323","tarball":"https://registry.npmjs.org/@accuser/svelte-markdown-math/-/svelte-markdown-math-0.0.4.tgz","fileCount":11,"unpackedSize":7046,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJ6GiRD5d3FR9s1Gn8dknURq6q5hq6W4TjPpSRgS3QIAiEA8yThV19qA6+1wXhlR+h3SiXm1fYVLoe4gnN6vXuHvAs="}]},"_npmUser":{"name":"accuser","email":"mhgibbons@me.com"},"directories":{},"maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-markdown-math_0.0.4_1727686480987_0.8210052980944673"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-26T06:54:00.891Z","modified":"2024-09-30T08:54:41.368Z","0.0.1":"2024-09-26T06:54:01.206Z","0.0.2":"2024-09-27T05:36:56.689Z","0.0.3":"2024-09-27T07:19:28.347Z","0.0.4":"2024-09-30T08:54:41.193Z"},"bugs":{"url":"https://github.com/accuser/svelte-markdown-math/issues"},"author":{"name":"Matthew Gibbons","email":"mhgibbons@me.com","url":"https://github.com/accuser"},"license":"MIT","homepage":"https://github.com/accuser/svelte-markdown-math","keywords":["katex","markdown","math","mdast","svelte","sveltekit"],"repository":{"type":"git","url":"git+https://github.com/accuser/svelte-markdown-math.git"},"description":"Transforms Markdown source (as a `string`) or a [Markdown AST](https://github.com/syntax-tree/mdast) into Svelte components.","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"readme":"# Svelte Markdown Provider\n\nTransforms Markdown source (as a `string`) or a [Markdown AST](https://github.com/syntax-tree/mdast) into Svelte components.\n\n> [!NOTE]\n> You probably don't want this - look at [mdsvex](https://mdsvex.pngwn.io) or [svelte-markdown](https://github.com/pablo-abc/svelte-markdown) instead.\n\n## Installing\n\nAdd the `@accuser/svelte-markdown-provider` package dependency to your [Svelte](https://svelte.dev) / [SvelteKit](https://kit.svelte.dev) project:\n\n```sh\nnpm install --save-dev @accuser/svelte-markdown-provider\n```\n\n## Usage\n\n### Markdown `string`\n\n```svelte\n<script>\n    import { Markdown } from '@accuser/svelte-markdown-provider';\n\n    const source = 'Hello, World!';\n</script>\n\n<Markdown {src} />\n```\n\n### Markdown AST\n\n```svelte\n<script>\n    import { Markdown } from '@accuser/svelte-markdown-provider';\n\n    const ast = {\n        type: 'root',\n        children: [{\n           type: 'paragraph',\n           children: [{\n                type: 'text',\n                value: 'Hello, World!'\n            }]\n        }]\n    };\n</script>\n\n<Markdown {ast} />\n```\n","readmeFilename":"README.md"}