MarkdownDocument.RenderHtmlToFile

Renders markdown from the current document using the appropriate Theme Template and writing an output file. Options allow customization and can avoid writing out a file.

public string RenderHtmlToFile(string markdown,
	string filename,
	string theme,
	bool usePragmaLines,
	bool noFileWrite,
	bool removeBaseTag,
	bool noBanner)

Parameters

markdown

filename

theme
The theme to use to render this topic

usePragmaLines
if true renders editor line number mapping ids

noFileWrite

removeBaseTag
removes the base tag from the document

noBanner
if set will not render shareware banner


See also:

Class MarkdownDocument

© West Wind Technologies, 1996-2021 • Updated: 02/14/20
Comment or report problem with topic