@felisdiligens/md-table-tools / Exports / HTMLTableRenderer
• new HTMLTableRenderer(prettify?
, indent?
, renderOutsideTable?
)
Name | Type | Default value |
---|---|---|
prettify |
boolean |
true |
indent |
string |
" " |
renderOutsideTable |
boolean |
true |
• indent: string
= " "
• prettify: boolean
= true
• renderOutsideTable: boolean
= true
▸ Private
indentString(str
, indentLevel?
): string
Name | Type | Default value |
---|---|---|
str |
string |
undefined |
indentLevel |
number |
0 |
string
▸ render(table
): string
Name | Type |
---|---|
table |
Table |
string
▸ Private
renderCell(cell
): string
Name | Type |
---|---|
cell |
TableCell |
string
▸ Private
renderRow(table
, row
): string
[]
Name | Type |
---|---|
table |
Table |
row |
TableRow |
string
[]