type

FencedCode

src @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

src 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

src Str? fenceChar

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

fenceIndent

src Int fenceIndent := 0

info

src Str? info

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

literal

src Str? literal

make

src new make(Str? fenceChar := null)

openingFenceLen

src 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