mirror of
https://github.com/Warky-Devs/go-mdtopdf-helper.git
synced 2026-11-25 13:48:47 +00:00
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:
1 parent
73f258aa95
commit
50b7246c21
23 files changed
+1948
-393
No files matched your search
@@ -0,0 +1,8 @@
|
||||
package engine
|
||||
|
||||
import "github.com/Warky-Devs/go-mdtopdf-helper.git/internal/document"
|
||||
|
||||
// markdownToHTML renders a complete HTML document for the browser based engines.
|
||||
func markdownToHTML(md []byte) []byte {
|
||||
return document.HTML(md)
|
||||
}
|
||||
Reference in new issue
Block a user