Features
The Cake.Issues.Markdownlint addin provides the following features.
Tip: Running markdownlint
markdownlint-cli can be run with the Cake.Markdownlint addin.
Basic features¶
- Reads warnings from Markdownlint logfiles.
- Provides URLs for all issues.
- Support for custom URL resolving using the MarkdownlintAddRuleUrlResolver alias (except for MarkdownlintCliJsonLogFileFormat).
Supported log file formats¶
- MarkdownlintV1LogFileFormat
alias for reading issues from Markdownlint
output generated with
options.resultVersion
set to 1. - MarkdownlintCliLogFileFormat alias for reading issues from markdownlint-cli log files.
- MarkdownlintCliJsonLogFileFormat
alias for reading issues from markdownlint-cli
log files created with the
--json
parameter.
Supported IIssue properties¶
-
IIssue.ProviderType
-
IIssue.ProviderName
-
IIssue.Run
(1) -
IIssue.Identifier
(2) -
IIssue.ProjectName
-
IIssue.ProjectFileRelativePath
-
IIssue.AffectedFileRelativePath
-
IIssue.Line
-
IIssue.EndLine
-
IIssue.Column
-
IIssue.EndColumn
-
IIssue.FileLink
(3) -
IIssue.MessageText
-
IIssue.MessageHtml
-
IIssue.MessageMarkdown
-
IIssue.Priority
(4) -
IIssue.PriorityName
(5) -
IIssue.RuleId
-
IIssue.RuleUrl
(6)
- Can be set while reading issues
- Set to
IIssue.MessageText
- Can be set while reading issues
- Always IssuePriority.Warning
- Always
Warning
- Support for custom rules can be added through a custom MarkdownlintAddRuleUrlResolver
-
IIssue.ProviderType
-
IIssue.ProviderName
-
IIssue.Run
(1) -
IIssue.Identifier
(2) -
IIssue.ProjectName
-
IIssue.ProjectFileRelativePath
-
IIssue.AffectedFileRelativePath
-
IIssue.Line
-
IIssue.EndLine
-
IIssue.Column
-
IIssue.EndColumn
-
IIssue.FileLink
(3) -
IIssue.MessageText
-
IIssue.MessageHtml
-
IIssue.MessageMarkdown
-
IIssue.Priority
(4) -
IIssue.PriorityName
(5) -
IIssue.RuleId
-
IIssue.RuleUrl
(6)
- Can be set while reading issues
- Set to
IIssue.MessageText
- Can be set while reading issues
- Always IssuePriority.Warning
- Always
Warning
- Support for custom rules can be added through a custom MarkdownlintAddRuleUrlResolver
-
IIssue.ProviderType
-
IIssue.ProviderName
-
IIssue.Run
(1) -
IIssue.Identifier
(2) -
IIssue.ProjectName
-
IIssue.ProjectFileRelativePath
-
IIssue.AffectedFileRelativePath
-
IIssue.Line
-
IIssue.EndLine
-
IIssue.Column
-
IIssue.EndColumn
-
IIssue.FileLink
(3) -
IIssue.MessageText
-
IIssue.MessageHtml
-
IIssue.MessageMarkdown
-
IIssue.Priority
(4) -
IIssue.PriorityName
(5) -
IIssue.RuleId
-
IIssue.RuleUrl
- Can be set while reading issues
- Set to
IIssue.MessageText
- Can be set while reading issues
- Always IssuePriority.Warning
- Always
Warning