Namespace: Grynwald.MarkdownGenerator
Assembly: Grynwald.MarkdownGenerator
Represents a markdown document
public sealed class MdDocument : IDocument
Inheritance: object → MdDocument
Implements: IDocument
Name | Description |
---|---|
MdDocument(IEnumerable<MdBlock>) | Initializes a new instance of MdDocument with the specified content. |
MdDocument(MdAdmonition) | Initializes a new instance of MdDocument with the specified content. |
MdDocument(MdBlockQuote) | Initializes a new instance of MdDocument with the specified content. |
MdDocument(MdBlock[]) | Initializes a new instance of MdDocument with the specified content. |
MdDocument(MdContainerBlock) | Initializes a new instance of MdDocument with the specified block as root element. |
MdDocument(MdList) | Initializes a new instance of MdDocument with the specified content. |
Name | Description |
---|---|
Root | The root container block containing all of the document's blocks |
Name | Description |
---|---|
Save(Stream) | Saves the document to a stream. |
Save(Stream, MdSerializationOptions) | Saves the document to a stream using the specified serialization options. |
Save(string) | Saves the document to the specified file. |
Save(string, MdSerializationOptions) | Saves the document to the specified file using the specified serialization options. |
ToString() | Converts the document to a Markdown string. |
ToString(MdSerializationOptions) | Converts the document to a Markdown string using the specified serialization options. |
Documentation generated by MdDocs