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.
Registers a new URL resolver with a specific priority.
public static void MarkdownlintAddRuleUrlResolver(this ICakeContext context, Func<MarkdownlintRuleDescription, Uri> resolver, int priority)
Adds a provider of priority 5 returning a link for all rules with Id smaller than 20 to search with Google for the rule:
MarkdownlintAddRuleUrlResolver(x => x.RuleId < 20 ? new Uri("https://www.google.com/search?q=%22" + x.Rule + ":%22+") : null, 5)
||Resolver which returns an
|priority||int||Priority of the resolver. Resolver with a higher priority are considered first during resolving of the URL.|