Skip to content

TableElement

Represents a markdown table.

Extends

  • AbstractMarkdownLiteral

Constructors

new TableElement()

new TableElement(header, body): TableElement

Parameters

Parameter Type

header

string[]

body

string[][]

Returns

TableElement

Overrides

AbstractMarkdownLiteral.constructor

Defined in

jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:188

Properties

body

body: string[][]

Defined in

jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:186


header: string[]

Defined in

jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:185

Methods

toMarkdown()

toMarkdown(): MarkdownString

Converts the element to a MarkdownString.

Returns

MarkdownString

Inherited from

AbstractMarkdownLiteral.toMarkdown

Defined in

jsEngine/api/markdown/AbstractMarkdownElement.ts:21


toString()

toString(): string

Converts the element to a string.

Returns

string

Overrides

AbstractMarkdownLiteral.toString

Defined in

jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:195