FSharp.Formatting


Markdown

Namespace: FSharp.Markdown

Static class that provides methods for formatting and transforming Markdown documents.

Static members

Static memberDescription
Parse(text)
Signature: text:string -> MarkdownDocument

Parse the specified text into a MarkdownDocument.

Parse(text, newline)
Signature: (text:string * newline:string) -> MarkdownDocument

Parse the specified text into a MarkdownDocument. Line breaks in the inline HTML (etc.) will be stored using the specified string.

TransformHtml(text)
Signature: text:string -> string

Transform Markdown document into HTML format. The result will be returned as a string.

TransformHtml(text, newline)
Signature: (text:string * newline:string) -> string

Transform Markdown document into HTML format. The result will be returned as a string.

TransformHtml(text, writer)
Signature: (text:string * writer:TextWriter) -> unit

Transform Markdown document into HTML format. The result will be written to the provided TextWriter.

TransformHtml(text, writer, newline)
Signature: (text:string * writer:TextWriter * newline:string) -> unit

Transform Markdown document into HTML format. The result will be written to the provided TextWriter.

TransformLatex(text)
Signature: text:string -> string

Transform Markdown document into LaTeX format. The result will be returned as a string.

TransformLatex(text, newline)
Signature: (text:string * newline:string) -> string

Transform Markdown document into LaTeX format. The result will be returned as a string.

TransformLatex(text, writer)
Signature: (text:string * writer:TextWriter) -> unit

Transform Markdown document into LaTeX format. The result will be written to the provided TextWriter.

TransformLatex(text, writer, newline)
Signature: (text:string * writer:TextWriter * newline:string) -> unit

Transform Markdown document into LaTeX format. The result will be written to the provided TextWriter.

WriteHtml(doc, writer)
Signature: (doc:MarkdownDocument * writer:TextWriter) -> unit

Transform the provided MarkdownDocument into HTML format and write the result to a given writer.

WriteHtml(doc)
Signature: doc:MarkdownDocument -> string

Transform the provided MarkdownDocument into HTML format and return the result as a string.

WriteHtml(doc, newline)
Signature: (doc:MarkdownDocument * newline:string) -> string

Transform the provided MarkdownDocument into HTML format and return the result as a string.

WriteHtml(doc, writer, newline)
Signature: (doc:MarkdownDocument * writer:TextWriter * newline:string) -> unit

Transform the provided MarkdownDocument into HTML format and write the result to a given writer.

WriteLatex(doc, writer)
Signature: (doc:MarkdownDocument * writer:TextWriter) -> unit

Transform the provided MarkdownDocument into LaTeX format and write the result to a given writer.

WriteLatex(doc)
Signature: doc:MarkdownDocument -> string

Transform the provided MarkdownDocument into LaTeX format and return the result as a string.

WriteLatex(doc, newline)
Signature: (doc:MarkdownDocument * newline:string) -> string

Transform the provided MarkdownDocument into LaTeX format and return the result as a string.

WriteLatex(doc, writer, newline)
Signature: (doc:MarkdownDocument * writer:TextWriter * newline:string) -> unit

Transform the provided MarkdownDocument into LaTeX format and write the result to a given writer.

Fork me on GitHub