MarkdownLinkChecker Class

Class that examines a Markdown document for links and checks to see whether they are valid by checking HTTP links for success, # Hash and file for existence.

System.Object
   MarkdownMonster.Controls.LeftSidebar.MarkdownLinkChecker

Class Members

MemberDescription
Constructor
GetLinks Retrieves a list of links and image links from the Markdown document and optionally checks for validity.
public Task> GetLinks(string markdown, bool brokenLinksOnly, bool noLinkCheck, string docHtml)
HasListChanged Determines whether any Urls in the list have changed. Returns the current list with 'HasLinkChanged' updated.
public bool HasListChanged(List source, List compareTo)
ValidateLinks Validates a list of links that are passed in by checking online or checking for local file existance. Typically used in combination with: * GetAllLinks() without link validation *…
public Task ValidateLinks(List links, bool onlyChangedLinks, string docHtml)
BasePath The base path to use for relative links. If not provided, local links are not checked
CancelLinkChecking Allows you to cancel checking for links
Markdown The Markdown Text to parse for links
Namespace: MarkdownMonster.Controls.LeftSidebar

Assembly: MarkdownMonster.dll



© West Wind Technologies, 2025 • Updated: 2025-02-25
Comment or report problem with topic