Skip to content

CodeElement

Represents an inline markdown code block.

Extends

  • AbstractMarkdownLiteral

Constructors

new CodeElement()

new CodeElement(content): CodeElement

Parameters

Parameter Type

content

string

Returns

CodeElement

Overrides

AbstractMarkdownLiteral.constructor

Defined in

jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:170

Properties

content

content: string

Defined in

jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:168

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:176