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.Markdownlint.
Summary
Runs Node.js markdownlint-cli with specified settings.
- Assembly
- Cake
.Markdownlint .dll - Namespace
- Cake
.Markdownlint - Containing Type
- MarkdownlintAliases
Syntax
public static void RunMarkdownlintNodeJs(this ICakeContext context, MarkdownlintNodeJsRunnerSettings settings)
Examples
Define working directory and output file:
var settings =
MarkdownlintNodeJsRunnerSettings.ForDirectory(@"c:\myproject");
setting.OutputFile = @"c:\myprojects\logs\markdownlint.log";
RunMarkdownlintNodeJs(settings);
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| settings | Markdownlint |
Settings for running Markdownlint. |
Return Value
| Type | Description |
|---|---|
| void |
