Installed @tailwindcss/typography plugin to fix 'wall of text' issue in documentation. The prose classes now properly style markdown HTML elements with: - Proper margins and spacing for headings, paragraphs, lists - Line-height and typography improvements - Styled code blocks, blockquotes, tables, and links Changes: - Add @tailwindcss/typography to devDependencies - Configure plugin in tailwind.config.ts - Regenerate CSS with typography styles included
20 lines
698 B
JSON
20 lines
698 B
JSON
{
|
|
"name": "bookhoard",
|
|
"version": "1.0.0",
|
|
"description": "A self-hosted ebook management system",
|
|
"scripts": {
|
|
"build:css": "tailwindcss -i ./web/static/input.css -o ./web/static/style.css --watch",
|
|
"build:css:prod": "tailwindcss -i ./web/static/input.css -o ./web/static/style.css --minify",
|
|
"build:ts": "tsc",
|
|
"build:ts:watch": "tsc --watch",
|
|
"postinstall": "mkdir -p web/static && curl -L https://unpkg.com/htmx.org@1.9.10/dist/htmx.min.js -o web/static/htmx.min.js"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/forms": "^0.5.7",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"autoprefixer": "^10.4.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|