feat: implement PDF generation and update Dockerfile

- Add PDF generation using go-pdf/fpdf (Pure Go library)
- Walk markdown AST and render directly to PDF
- Update Dockerfile to include themes directory and config
- Fix ENTRYPOINT format for serve mode

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
This commit is contained in:
2026-03-05 02:33:37 +01:00
parent e3c6c25624
commit 4779e63132
6 changed files with 181 additions and 7 deletions

1
go.mod
View File

@@ -9,6 +9,7 @@ require (
require (
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/go-pdf/fpdf v0.9.0 // indirect
github.com/yuin/goldmark v1.7.16 // indirect
golang.org/x/sys v0.13.0 // indirect
)