MarkdownPrinter
sourceA Printer which prints to a file.
Constructors
new MarkdownPrinter(fs: __module, path: string, options: Partial<PrinterOptions>): MarkdownPrintersource
Properties
buffer: stringsource
inherited from
Printer.buffer
currentIndent: stringsource
inherited from
Printer.currentIndent
finalised: booleansource
inherited from
Printer.finalised
fs: __modulesource
inherited from
Printer.fs
options: PrinterOptionssource
inherited from
Printer.options
path: stringsource
inherited from
Printer.path
storedBlockIndent: stringsource
inherited from
Printer.storedBlockIndent
Inherited methods
beforeFinalise(): voidsource
inherited from
Printer.beforeFinalise
continueLastBlockIndent(): voidsource
inherited from
Printer.continueLastBlockIndent
decreaseIndent(): voidsource
inherited from
Printer.decreaseIndent
finalise(): voidsource
inherited from
Printer.finalise
getAndClearBuffer(): stringsource
inherited from
Printer.getAndClearBuffer
getIndent(): stringsource
inherited from
Printer.getIndent
getIndentLevel(): numbersource
inherited from
Printer.getIndentLevel
increaseIndent(): voidsource
inherited from
Printer.increaseIndent
print(s: string): voidsource
inherited from
Printer.print
printBlock(block: string): voidsource
inherited from
Printer.printBlock
printDocComment(doc: string): voidsource
inherited from
Printer.printDocComment
printLine(s: string = ""): voidsource
inherited from
Printer.printLine
printLines(lines: readonly string[], options: PrintLinesOptions): voidsource
inherited from
Printer.printLines
printNewline(): voidsource
inherited from
Printer.printNewline
printWrapped(text: string, options: PrintLinesOptions): voidsource
inherited from
Printer.printWrapped
printYamlText(text: string): voidsource
inherited from
Printer.printYamlText
resetIndent(indent: string = ""): voidsource
inherited from
Printer.resetIndent
withIndent(then: Function): voidsource
inherited from
Printer.withIndent
withOutdent(then: Function): voidsource
inherited from
Printer.withOutdent
wrapText(text: string, offsetLength: number = 0): string[]source
inherited from
Printer.wrapText
addImportPathMap(this: HasImportPathMap, from: string, to: string): voidsource
inherited from
Printer.addImportPathMap
finaliseAll(): voidsource
inherited from
Printer.finaliseAll
rewriteImportPath(this: HasImportPathMap, pathOfSourceFile: string, pathOfImport: string): stringsource
inherited from
Printer.rewriteImportPath