UNPKG

@cartamd/plugin-math

Version:

This plugin adds support for **Katex** expressions. Install it using:

70 lines (69 loc) 1.55 kB
{ "name": "@cartamd/plugin-math", "version": "4.3.1", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "MIT", "scripts": { "dev": "vite dev", "build": "vite build && npm run package", "preview": "vite preview", "package": "svelte-kit sync && svelte-package && publint", "prepublishOnly": "npm run package", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" }, "repository": { "type": "git", "url": "git+https://github.com/BearToCode/carta.git" }, "exports": { ".": { "types": "./dist/index.d.ts", "svelte": "./dist/index.js" } }, "files": [ "dist", "!dist/**/*.test.*", "!dist/**/*.spec.*" ], "peerDependencies": { "carta-md": "^4.9.0", "svelte": "^5.0.0" }, "devDependencies": { "@sveltejs/adapter-auto": "catalog:", "@sveltejs/kit": "catalog:", "@sveltejs/package": "catalog:", "@sveltejs/vite-plugin-svelte": "catalog:", "@types/node-emoji": "catalog:", "carta-md": "workspace:*", "katex": "^0.16.10", "publint": "catalog:", "svelte": "catalog:", "svelte-check": "catalog:", "tslib": "catalog:", "typescript": "catalog:", "vite": "catalog:" }, "dependencies": { "rehype-katex": "^7.0.0", "remark-math": "^6.0.0" }, "svelte": "catalog:", "keywords": [ "carta", "markdown", "editor", "unified", "remark", "text editor", "markdown editor", "slash", "syntax highlighting", "emoji", "katex" ] }