MarkdownFormat.CreateMarkupWriter Method
- Namespace
- Kampute.DocToolkit.Formatters
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates an instance of MarkupWriter class that wraps the specified writer for encoding content in Markdown format.
public override MarkupWriter CreateMarkupWriter(TextWriter writer, bool disposeWriter = false)Parameters
writerTextWriter- The TextWriter to write the encoded content to.
disposeWriterbool optionaltrueif the wrappedwritershould be disposed when the returned MarkupWriter is disposed; otherwise,false. The default isfalse.
Returns
- MarkupWriter
- A new instance of a MarkdownWriter object that wraps the specified writer.

The writer automatically handles Markdown requirements: