CalloutElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:395
Represents a markdown callout.
Extends
AbstractMarkdownElementContainer
Constructors
new CalloutElement()
new CalloutElement(
apiInstance,title,type,args,collapsible,collapsed):CalloutElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:402
Parameters
| Parameter | Type | Default value |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
Overrides
AbstractMarkdownElementContainer.constructor
Properties
apiInstance
readonlyapiInstance:API
Defined in: jsEngine/api/markdown/AbstractMarkdownElement.ts:9
Inherited from
AbstractMarkdownElementContainer.apiInstance
args
args:
string
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:398
collapsed
collapsed:
boolean
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:400
collapsible
collapsible:
boolean
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:399
markdownElements
markdownElements:
AbstractMarkdownElement[]
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:12
Inherited from
AbstractMarkdownElementContainer.markdownElements
title
title:
string
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:396
type
type:
string
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:397
Methods
addBoldText()
addBoldText(
text):AbstractMarkdownElementContainer
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:53
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addBoldText
addCode()
addCode(
text):AbstractMarkdownElementContainer
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:85
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addCode
addCursiveText()
addCursiveText(
text):AbstractMarkdownElementContainer
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:61
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addCursiveText
addElement()
addElement(
element):void
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:35
Adds a child element to the container.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
|
|
Returns
void
Throws
Error if the element is not allowed in the container.
Inherited from
AbstractMarkdownElementContainer.addElement
addHighlightedText()
addHighlightedText(
text):AbstractMarkdownElementContainer
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:77
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addHighlightedText
addText()
addText(
text):AbstractMarkdownElementContainer
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:45
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addText
addUnderlinedText()
addUnderlinedText(
text):AbstractMarkdownElementContainer
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:69
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addUnderlinedText
createBlockQuote()
createBlockQuote():
BlockQuoteElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:109
Returns
Inherited from
AbstractMarkdownElementContainer.createBlockQuote
createCallout()
createCallout(
title,type,args):CalloutElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:115
Parameters
| Parameter | Type | Default value |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createCallout
createCodeBlock()
createCodeBlock(
language,content):CodeBlockElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:131
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createCodeBlock
createCollapsibleCallout()
createCollapsibleCallout(
title,type,args,collapsed):CalloutElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:123
Parameters
| Parameter | Type | Default value |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createCollapsibleCallout
createHeading()
createHeading(
level,content):HeadingElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:101
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createHeading
createList()
createList(
ordered):ListElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:147
Parameters
| Parameter | Type | Default value |
|---|---|---|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createList
createOrderedList()
createOrderedList():
ListElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:155
Returns
Inherited from
AbstractMarkdownElementContainer.createOrderedList
createParagraph()
createParagraph(
content):ParagraphElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:93
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createParagraph
createTable()
createTable(
header,body):TableElement
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:139
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createTable
toMarkdown()
toMarkdown():
MarkdownString
Defined in: jsEngine/api/markdown/AbstractMarkdownElement.ts:28
Converts the element to a MarkdownString.
Returns
Inherited from
AbstractMarkdownElementContainer.toMarkdown
toString()
toString():
string
Defined in: jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:412
Converts the element to a string.
Returns
string
Overrides
AbstractMarkdownElementContainer.toString