Returns a WebRoot Relative and slash normalized path for a file based on the current document's base file. Paths are converted to forward slashes as embeddable links. If path is empty or
untitled path is returned as is.
public string GetWebRootRelativePath(string path, string basePath)
Path to a file that you want to make relative to WebRoot
Path from which the WebRoot is discovered. If null uses the current document's folder as a base.
See also:Class MarkdownDocument
Comment or report problem with topic