Add katex render to Markdown

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-10-04 11:50:49 +02:00
parent 8e3789b799
commit a016e98169
7 changed files with 142 additions and 78 deletions
+6 -2
View File
@@ -4,6 +4,7 @@
"start": "vite",
"serve": "vite preview",
"build": "scripts/build",
"postinstall": "scripts/copy-katex-assets",
"check": "scripts/check",
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html)' --ignore-path .gitignore --write",
"test:unit": "TZ='UTC' vitest run",
@@ -19,6 +20,8 @@
"@rsksmart/mock-web3-provider": "^1.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.8",
"@tsconfig/svelte": "^3.0.0",
"@types/dompurify": "^2.3.4",
"@types/katex": "^0.14.0",
"@types/lodash": "^4.14.186",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"cypress": "^10.9.0",
@@ -46,8 +49,10 @@
"@types/md5": "^2.3.2",
"@walletconnect/client": "^1.8.0",
"buffer": "^6.0.3",
"dompurify": "^2.4.0",
"ethers": "^5.7.1",
"events": "^3.3.0",
"katex": "^0.16.2",
"lodash": "^4.17.21",
"lru-cache": "^7.14.0",
"marked": "^4.1.0",
@@ -58,7 +63,6 @@
"siwe": "^2.0.5",
"svelte": "^3.50.1",
"svelte-preprocess": "^4.10.7",
"svelte-routing": "^1.6.0",
"xss": "^1.0.14"
"svelte-routing": "^1.6.0"
}
}