Метод | Описание | |
---|---|---|
Handle ( HttpRequestEventArgs, args, string requestedPath, string localPath ) : void |
Метод | Описание | |
---|---|---|
GenerateTableOfContents ( string &html ) : string |
Modifies given HTML code to include anchors for all headers and returns a table of contents for them.
|
|
GetPageContents ( HttpServer, server, string filePath ) : string |
Returns the contents for the page at filePath, rendered with CommonMark and with a TOC if applicable.
|
|
GetPageName ( string queryString ) : string |
Returns page name, based on query string.
|
|
GetPages ( HttpServer, server ) : Page>.Dictionary |
Returns a list of pages, the key being the title of the page.
|
|
ToAnchorName ( string title ) : string |
Replaces non-word characters with underscores.
|
public Handle ( HttpRequestEventArgs, args, string requestedPath, string localPath ) : void | ||
args | HttpRequestEventArgs, | |
requestedPath | string | |
localPath | string | |
Результат | void |