Replace the plain textarea with a CodeMirror-based editor supporting syntax highlighting, formatting toolbar (bold, italic, lists, code blocks), and a live preview toggle. Update PostContentRenderer to handle new Markdown syntax (blockquotes, fenced code blocks). Add a preview endpoint for rendering content without saving.
27 lines
621 B
JSON
27 lines
621 B
JSON
{
|
|
"name": "plugi-core",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "node build.js",
|
|
"watch": "node build.js --watch",
|
|
"dev": "node build.js --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/cli": "^4.3.5",
|
|
"daisyui": "^5.8.2",
|
|
"npm-watch": "^0.11.0",
|
|
"rolldown": "^1.3.3",
|
|
"sass": "^1.63.6",
|
|
"tailwindcss": "^4.3.5"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/commands": "^6.11.2",
|
|
"@codemirror/lang-markdown": "^6.5.3",
|
|
"@codemirror/language": "^6.13.1",
|
|
"@codemirror/view": "^6.44.2",
|
|
"alpinejs": "^3.12.2",
|
|
"grapesjs": "0.22.16",
|
|
"slugify": "^1.6.6"
|
|
}
|
|
}
|