class

FencedCode

@Js
class FencedCode : Block

Fenced code block

```
foo
bar
```

constructors make

fields fenceChar

The fence character that was used, e.g

closingFenceLen

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

fenceIndent

openingFenceLen

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

info

Optional info string (see spec), e.g

literal

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

info Str? : info

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

literal Str? : literal

make new make(Str? fenceChar)

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

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST