TableElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:236
Represents a markdown table.
Extends
AbstractMarkdownLiteral
Constructors
new TableElement()
new TableElement(
apiInstance
,header
,body
):TableElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:240
Parameters
Parameter | Type |
---|---|
|
|
|
|
|
|
Returns
Overrides
AbstractMarkdownLiteral.constructor
Properties
apiInstance
readonly
apiInstance:API
Defined in: jsEngine/api/markdown/AbstractMarkdownElement.ts:9
Inherited from
AbstractMarkdownLiteral.apiInstance
body
body:
string
[][]
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:238
header
header:
string
[]
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:237
Methods
toMarkdown()
toMarkdown():
MarkdownString
Defined in: jsEngine/api/markdown/AbstractMarkdownElement.ts:28
Converts the element to a MarkdownString.
Returns
Inherited from
AbstractMarkdownLiteral.toMarkdown
toString()
toString():
string
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:247
Converts the element to a string.
Returns
string
Overrides
AbstractMarkdownLiteral.toString