Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.46 KB

File metadata and controls

45 lines (30 loc) · 1.46 KB

MkDocsTextFormatter Class

Namespace: Grynwald.MarkdownGenerator
Assembly: Grynwald.MarkdownGenerator

Implementation of ITextFormatter optimized for rendering generated Markdown file using MkDocs.

public sealed class MkDocsTextFormatter : ITextFormatter

Inheritance: object → MkDocsTextFormatter

Implements: ITextFormatter

Remarks

This implementation works largely the same as DefaultTextFormatter but changes how some characters are escaped:

  • < is escaped as &lt;.
  • > is escaped as &gt;.
  • / is not escaped.

Fields

Name Description
Instance Gets the singleton instance of MkDocsTextFormatter

Methods

Name Description
EscapeText(string) Escapes the specified text.

Documentation generated by MdDocs