Markdown Type
Static class that provides methods for formatting and transforming Markdown documents.
Static members
Static member |
Description
|
Full Usage:
Markdown.Parse(text, ?newline, ?parseOptions)
Parameters:
string
?newline : string
?parseOptions : MarkdownParseOptions
Returns: MarkdownDocument
|
Parse the specified text into a MarkdownDocument. Line breaks in the inline HTML (etc.) will be stored using the specified string.
|
Full Usage:
Markdown.ToFsx(doc, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver)
Parameters:
MarkdownDocument
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
Returns: string
|
Transform the provided MarkdownDocument into Fsx and return the result as a string.
|
Full Usage:
Markdown.ToHtml(markdownText, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver)
Parameters:
string
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
Returns: string
|
Transform Markdown document into HTML format. The result will be returned as a string.
|
Full Usage:
Markdown.ToHtml(doc, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver)
Parameters:
MarkdownDocument
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
Returns: string
|
Transform the provided MarkdownDocument into HTML format and return the result as a string.
|
Full Usage:
Markdown.ToLatex(markdownText, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver, ?lineNumbers)
Parameters:
string
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
?lineNumbers : bool
Returns: string
|
Transform Markdown text into LaTeX format. The result will be returned as a string.
|
Full Usage:
Markdown.ToLatex(doc, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver, ?lineNumbers)
Parameters:
MarkdownDocument
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
?lineNumbers : bool
Returns: string
|
Transform the provided MarkdownDocument into LaTeX format and return the result as a string.
|
Full Usage:
Markdown.ToMd(doc, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver)
Parameters:
MarkdownDocument
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
Returns: string
|
Transform the provided MarkdownDocument into Markdown and return the result as a string.
|
Full Usage:
Markdown.ToPynb(doc, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver)
Parameters:
MarkdownDocument
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
Returns: string
|
Transform the provided MarkdownDocument into Pynb and return the result as a string.
|
Full Usage:
Markdown.WriteHtml(markdownText, writer, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver)
Parameters:
string
writer : TextWriter
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
|
Transform Markdown text into HTML format. The result will be written to the provided TextWriter.
|
Full Usage:
Markdown.WriteHtml(doc, writer, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver)
Parameters:
MarkdownDocument
writer : TextWriter
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
|
Transform the provided MarkdownDocument into HTML format and write the result to a given writer.
|
Full Usage:
Markdown.WriteLatex(markdownText, writer, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver)
Parameters:
string
writer : TextWriter
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
|
Transform Markdown document into LaTeX format. The result will be written to the provided TextWriter.
|
Full Usage:
Markdown.WriteLatex(doc, writer, ?newline, ?substitutions, ?crefResolver, ?mdlinkResolver, ?lineNumbers)
Parameters:
MarkdownDocument
writer : TextWriter
?newline : string
?substitutions : (ParamKey * string) list
?crefResolver : string -> (string * string) option
?mdlinkResolver : string -> string option
?lineNumbers : bool
|
Transform the provided MarkdownDocument into LaTeX format and write the result to a given writer.
|