Markdown.

PrependLinkRoot(bool) Method

Summary

Specifies if the Wyam.Common.Meta.Keys.LinkRoot setting must be used to rewrite root-relative links when rendering markdown. By default, root-relative links, which are links starting with a '/' are left untouched. When setting this value to true, the Wyam.Common.Meta.Keys.LinkRoot setting value is added before the link.
Assembly
Wyam.Markdown.dll
Namespace
Wyam.Markdown
Containing Type
Markdown

Syntax

public Markdown PrependLinkRoot(bool prependLinkRoot = false)

Parameters

Name Type Description
prependLinkRoot bool If set to true, the Wyam.Common.Meta.Keys.LinkRoot setting value is added before any root-relative link (eg. stating with a '/').

Return Value

Type Description
Markdown The current module instance.
GitHub