Skip to content

Latest commit

 

History

History
160 lines (90 loc) · 3.13 KB

HTMLTableRenderer.md

File metadata and controls

160 lines (90 loc) · 3.13 KB

@felisdiligens/md-table-tools / Exports / HTMLTableRenderer

Class: HTMLTableRenderer

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new HTMLTableRenderer(prettify?, indent?, renderOutsideTable?)

Parameters

Name Type Default value
prettify boolean true
indent string " "
renderOutsideTable boolean true

Defined in

tables/htmlTable.ts:344

Properties

indent

indent: string = " "

Defined in

tables/htmlTable.ts:346


prettify

prettify: boolean = true

Defined in

tables/htmlTable.ts:345


renderOutsideTable

renderOutsideTable: boolean = true

Defined in

tables/htmlTable.ts:347

Methods

indentString

Private indentString(str, indentLevel?): string

Parameters

Name Type Default value
str string undefined
indentLevel number 0

Returns

string

Defined in

tables/htmlTable.ts:415


render

render(table): string

Parameters

Name Type
table Table

Returns

string

Implementation of

TableRenderer.render

Defined in

tables/htmlTable.ts:349


renderCell

Private renderCell(cell): string

Parameters

Name Type
cell TableCell

Returns

string

Defined in

tables/htmlTable.ts:400


renderRow

Private renderRow(table, row): string[]

Parameters

Name Type
table Table
row TableRow

Returns

string[]

Defined in

tables/htmlTable.ts:388