feat: markdown -> html and then display in editor

This commit is contained in:
Pihkaal
2024-09-13 13:51:18 +02:00
parent d2ae84846e
commit 8a209ede07
7 changed files with 106 additions and 6 deletions

View File

@@ -5,6 +5,7 @@
"private": true,
"type": "module",
"scripts": {
"uncache": "rm -f node_modules/.cache/assets",
"build": "rm -f node_modules/.cache/assets && vite build && tsc",
"dev": "vite",
"lint": "eslint src --cache --fix --max-warnings 0",
@@ -23,6 +24,7 @@
"@types/node": "18.19.6",
"@types/react": "18.2.47",
"@types/react-dom": "18.2.18",
"@types/showdown": "^2.0.6",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"@vitejs/plugin-react-swc": "3.5.0",
@@ -36,6 +38,7 @@
"prettier": "3.1.1",
"prettier-plugin-tailwindcss": "0.5.11",
"sass": "1.70.0",
"showdown": "^2.1.0",
"tailwindcss": "3.4.1",
"typescript": "5.3.3",
"vite": "5.0.12",