BlockQuoteElement
Represents a markdown block quote.
Extends
AbstractMarkdownElementContainer
Constructors
new BlockQuoteElement()
new BlockQuoteElement(
apiInstance
):BlockQuoteElement
Parameters
Parameter | Type |
---|---|
|
Returns
Inherited from
AbstractMarkdownElementContainer.constructor
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:14
Properties
apiInstance
readonly
apiInstance:API
Inherited from
AbstractMarkdownElementContainer.apiInstance
Defined in
jsEngine/api/markdown/AbstractMarkdownElement.ts:9
markdownElements
markdownElements:
AbstractMarkdownElement
[]
Inherited from
AbstractMarkdownElementContainer.markdownElements
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:12
Methods
addBoldText()
addBoldText(
text
):AbstractMarkdownElementContainer
Parameters
Parameter | Type |
---|---|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addBoldText
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:53
addCode()
addCode(
text
):AbstractMarkdownElementContainer
Parameters
Parameter | Type |
---|---|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addCode
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:85
addCursiveText()
addCursiveText(
text
):AbstractMarkdownElementContainer
Parameters
Parameter | Type |
---|---|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addCursiveText
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:61
addElement()
addElement(
element
):void
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
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:35
addHighlightedText()
addHighlightedText(
text
):AbstractMarkdownElementContainer
Parameters
Parameter | Type |
---|---|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addHighlightedText
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:77
addText()
addText(
text
):AbstractMarkdownElementContainer
Parameters
Parameter | Type |
---|---|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addText
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:45
addUnderlinedText()
addUnderlinedText(
text
):AbstractMarkdownElementContainer
Parameters
Parameter | Type |
---|---|
|
|
Returns
AbstractMarkdownElementContainer
Inherited from
AbstractMarkdownElementContainer.addUnderlinedText
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:69
createBlockQuote()
createBlockQuote():
BlockQuoteElement
Returns
Inherited from
AbstractMarkdownElementContainer.createBlockQuote
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:109
createCallout()
createCallout(
title
,type
,args
):CalloutElement
Parameters
Parameter | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createCallout
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:115
createCodeBlock()
createCodeBlock(
language
,content
):CodeBlockElement
Parameters
Parameter | Type |
---|---|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createCodeBlock
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:131
createCollapsibleCallout()
createCollapsibleCallout(
title
,type
,args
,collapsed
):CalloutElement
Parameters
Parameter | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createCollapsibleCallout
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:123
createHeading()
createHeading(
level
,content
):HeadingElement
Parameters
Parameter | Type |
---|---|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createHeading
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:101
createList()
createList(
ordered
):ListElement
Parameters
Parameter | Type | Default value |
---|---|---|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createList
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:147
createOrderedList()
createOrderedList():
ListElement
Returns
Inherited from
AbstractMarkdownElementContainer.createOrderedList
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:155
createParagraph()
createParagraph(
content
):ParagraphElement
Parameters
Parameter | Type |
---|---|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createParagraph
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:93
createTable()
createTable(
header
,body
):TableElement
Parameters
Parameter | Type |
---|---|
|
|
|
|
Returns
Inherited from
AbstractMarkdownElementContainer.createTable
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:139
toMarkdown()
toMarkdown():
MarkdownString
Converts the element to a MarkdownString.
Returns
Inherited from
AbstractMarkdownElementContainer.toMarkdown
Defined in
jsEngine/api/markdown/AbstractMarkdownElement.ts:28
toString()
toString():
string
Converts the element to a string.
Returns
string
Overrides
AbstractMarkdownElementContainer.toString
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:381