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.Issues.Markdownlint.
Summary
Gets an instance of a provider for issues reported by Markdownlint using log file content.
- Assembly
- Cake
.Issues .Markdownlint .dll - Namespace
- Cake
.Issues .Markdownlint - Containing Type
- Markdownlint
Issues Aliases
Syntax
public static IIssueProvider MarkdownlintIssuesFromContent(this ICakeContext context, string logFileContent, BaseMarkdownlintLogFileFormat format)
Examples
Read issues reported by Markdownlint:
var issues =
ReadIssues(
MarkdownlintIssuesFromContent(
logFileContent,
MarkdownlintLogFileFormat),
@"c:\repo");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
logFileContent | string | Content of the Markdownlint log file. The log file needs to be in the format as defined by the format parameter. |
format | Base |
Format of the provided Markdownlint log file. |
Return Value
Type | Description |
---|---|
IIssueProvider | Instance of a provider for issues reported by Markdownlint. |