style: add Tailwind Typography plugin for proper markdown rendering

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
This commit is contained in:
2026-02-02 20:54:18 -05:00
parent 59554d37f6
commit d102b6f976
6 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import (
"strings"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark-highlighting"
highlighting "github.com/yuin/goldmark-highlighting"
"github.com/yuin/goldmark/extension"
"github.com/yuin/goldmark/parser"
"github.com/yuin/goldmark/renderer/html"
@@ -57,7 +57,7 @@ func (h *DocsHandler) LoadDocument(docPath string) (*templates.Document, error)
// Default to INDEX.md if root
if docPath == "" || docPath == "docs" {
docPath = "INDEX.md"
docPath = "index.md"
} else {
// Remove /docs prefix if present
docPath = strings.TrimPrefix(docPath, "docs/")