feat(engine): add Chromedp and Wkhtmltopdf engines for PDF conversion

* implement gopdfEngine for direct PDF rendering
* create HTML rendering function for markdown
* add tests for engine functionality
* remove main.go as entry point
This commit is contained in:
Hein committed 2026-10-08 16:42:47 +02:00
1 parent 73f258aa95
commit 50b7246c21
23 files changed
+1948 -393

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
BINARY := go-mdtopdf-helper
BIN_DIR := bin
CMD := ./cmd/go-mdtopdf-helper
.PHONY: all build run test lint format clean
all: format lint test build
build:
go build -o $(BIN_DIR)/$(BINARY) $(CMD)
run:
go run $(CMD) $(ARGS)
test:
go test ./...
lint:
golangci-lint run ./...
format:
gofmt -s -w .
clean:
rm -rf $(BIN_DIR)