Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // VersionMajor is set during build VersionMajor string // VersionMinor is set during build VersionMinor string // VersionPatch is set during build VersionPatch string // VersionHash is set during build VersionHash string // VersionDate is set during build VersionDate string )
View Source
var Version = VersionInfo{ Major: VersionMajor, Minor: VersionMinor, Patch: VersionPatch, Hash: VersionHash, Date: VersionDate, }
Version is for use in the version subcommand.
Functions ¶
func MdBytesToPdfFile ¶ added in v0.0.5
MdBytesToPdfFile can be used to render markdown input from stdin. The path to the new PDF file is returned along with any encountered errors.
func MdFileToPdfFile ¶
MdFileToPdfFile converts a markdown file to a PDF file. The path to the new PDF file is returned along with any encountered errors.
func MdURLToPdfFile ¶
MdURLToPdfFile converts a markdown file at a given URL to a pdf file. The path to the new PDF file is returned along with any encountered errors.
Types ¶
Click to show internal directories.
Click to hide internal directories.