type

FencedCode

@Js
class FencedCode : Block

Fenced code block

constructors

fields

closingFenceLen

The length of the closing fence (how many of the fenceChar were used to end the code block) if available, or null otherwise

fenceChar

The fence character that was used, e.g.

fenceIndent
info

Optional info string (see spec), e.g.

literal
openingFenceLen

The length of the opening fence (how many of the fenceChar were used to start the code block) if available, or null otherwise

Slot Details

closingFenceLen

Int? closingFenceLen

The length of the closing fence (how many of the fenceChar were used to end the code block) if available, or null otherwise

fenceChar

Str? fenceChar

The fence character that was used, e.g. `, or ~, if available, or null otherwise

fenceIndent

Int fenceIndent := 0

info

Str? info

Optional info string (see spec), e.g. fantom in ```fantom

literal

Str? literal

make

new make(Str? fenceChar := null)

openingFenceLen

Int? openingFenceLen

The length of the opening fence (how many of the fenceChar were used to start the code block) if available, or null otherwise