This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.MarkdownToPdf.
Summary
Converts a markdown string to pdf file.
Syntax
public static void MarkdownToPdf(this ICakeContext context, string markdownText, FilePath outputFile, Action<Settings> settingsAction = null)
Examples
Task("Convert")
.Does(() => {
MarkdownToPdf("Some text in Markdown format...", "output.pdf");
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The ICakeContext . |
markdownText |
string |
The markdown string to convert. |
outputFile |
FilePath |
The name of the pdf file to create. |
settingsAction |
Action<Settings> |
Settings used for convertion |
Return Value