CodeFormat Type
Exposes functionality of the F# code formatter with a nice interface
Static members
Static member |
Description
|
Full Usage:
CodeFormat.FormatFsx(snippets)
Parameters:
Snippet seq
Returns: FormattedContent
|
Formats the .fsx snippets as iPython notebook using the default settings.
|
Full Usage:
CodeFormat.FormatHtml(snippets, prefix, ?openTag, ?closeTag, ?lineNumbers, ?openLinesTag, ?closeLinesTag, ?addErrors, ?tokenKindToCss)
Parameters:
Snippet array
prefix : string
?openTag : string
?closeTag : string
?lineNumbers : bool
?openLinesTag : string
?closeLinesTag : string
?addErrors : bool
?tokenKindToCss : TokenKind -> string
Returns: FormattedContent
|
Formats the .fsx snippets as HTML. The parameters specify prefix for HTML tags, whether lines should be added to outputs and whether errors should be printed.
|
Full Usage:
CodeFormat.FormatLatex(snippets, ?openTag, ?closeTag, ?lineNumbers)
Parameters:
Snippet array
?openTag : string
?closeTag : string
?lineNumbers : bool
Returns: FormattedContent
|
Formats the .fsx snippets as LaTeX. The parameters specify prefix for LaTeX tags, whether lines should be added to outputs.
|