Options
All
  • Public
  • Public/Protected
  • All
Menu

Analyzes a text only file, including MarkDown files, and parses it to HTML.

Hierarchy

  • TextFormatterParser

Index

Constructors

constructor

Properties

Private content

content: string

Content of the file formatted as HTML.

Private parsedContent

parsedContent: GrayMatterFile<string>

The metadata contiained in the source file as extracted by gray-matter.

Private pathToFile

pathToFile: string

path to the file to read and format as HTML.

Methods

do

Private setParsedContent

  • setParsedContent(): void