MarkdownAddressingStrategy.EncodePageName Method

Namespace
Kampute.DocToolkit.Routing
Assembly
  • Kampute.DocToolkit.dll

Definition

Converts the specified title to the name of a page, as it appears in the file path and URL of the page.
protected abstract string EncodePageName(string title)

Parameters

title string
The title of the page.

Returns

string
The page name for the specified title.

Remarks

The page name is used as a single segment of a path, so it must not contain a directory separator.