converters

package module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HtmlToPdf

func HtmlToPdf(htmlFullpath string, pdfFullpath string)

Converts HTML to PDF using weasyprint (requires to be installed with "pip install weasyprint")

func MdToHTML

func MdToHTML(mdContent string, title string, htmlFullpath string) string

Convert markdown text to html

func MdToHTMLBody

func MdToHTMLBody(md string) string

Get HTML body from markdown file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL