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 Task<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, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic