Method | Description | |
---|---|---|
ProjbookHtmlFormatter ( string contextName, |
Initializes a new instance of ProjbookHtmlFormatter.
|
Method | Description | |
---|---|---|
WriteBlock ( CommonMark.Syntax.Block block, bool isOpening, bool isClosing, bool &ignoreChildNodes ) : void |
Specializes block writing for anchor injection. For each formatted header we generate an anchor based on the context name, the header content and eventually add an integer suffix in order to prevent conflicts.
|
Method | Description | |
---|---|---|
Render ( Node node ) : string |
Renders Node.
|
|
Render ( Node node, StringBuilder stringBuilder ) : void |
Renders Node.
|
public ProjbookHtmlFormatter ( string contextName, |
||
contextName | string | Initializes the required |
target | Initializes the required text writer used as output. | |
settings | CommonMark.CommonMarkSettings | Initializes the required common mark settings used by the formatting. |
sectionTitleBase | int | Initializes the section title base. |
snippetDictionary | Extension.Model.Snippet>.Dictionary | Initializes the snippet directory. |
snippetReferencePrefix | string | Initializes the snippet reference prefix. |
return | System |
protected WriteBlock ( CommonMark.Syntax.Block block, bool isOpening, bool isClosing, bool &ignoreChildNodes ) : void | ||
block | CommonMark.Syntax.Block | The block to process. |
isOpening | bool | Define whether the block is opening. |
isClosing | bool | Defines whether the block is closing. |
ignoreChildNodes | bool | return whether the processing ignored child nodes. |
return | void |