XsltMarkdownTools Class
- Namespace
- Kampute.DocToolkit.Xslt
- Assembly
- Kampute.DocToolkit.dll
Definition
Provides extension methods to assist in XSLT transformations for Markdown content.
public class XsltMarkdownTools- Inheritance
- object
- XsltMarkdownTools
Remarks
Thread Safety
All public members of the type are guaranteed to be thread-safe.
Constructors
| XsltMarkdownTools() | Initializes a new instance of the XsltMarkdownTools class. |
Fields
| NamespaceUri | The namespace URI for the Markdown extension methods. |
Methods
| Escape(string) | Escapes Markdown special characters in the specified text. |
| EscapeInline(string) | Escapes Markdown special characters in the specified text, excluding line markers. |
| FenceMarker(string) | Retrieves the fence marker for a code block with the specified content. |

To use these extensions in an XSLT stylesheet, include the namespace declaration:
Then call the methods using the namespace prefix: