MarkdownToPdfAliases.

MarkdownToPdf(ICakeContext, Settings) Method

Summary

Runs Wkhtmltopdf, using Settings for configuration.

Syntax

public static void MarkdownToPdf(this ICakeContext context, Settings settings)

Examples

Task("Convert")
    .Does(() =>
{
    MarkdownToPdf(new Settings
    {
        MarkdownFile = "documtation.md",
        OutputFile = "documentation.pdf"     
    });
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The ICakeContext.
settings Settings The Settings.

Return Value

Type Description
void