PrismCodeBlock
PrismCodeBlock =
object
Defined in: client/code-block.ts:7
Properties
Section titled “Properties”
readonly
code:string
Defined in: client/code-block.ts:18
The code of the code block.
container
Section titled “container”
readonly
container:HTMLPreElement
Defined in: client/code-block.ts:9
Outermost element of the code block.
language
Section titled “language”
readonly
language:string
Defined in: client/code-block.ts:20
The language of the code block.
readonly
lines:HTMLCollectionOf
<HTMLDivElement
>
Defined in: client/code-block.ts:16
Collection containing the overlays as the first element. The rest of the elements are the code lines. This means the first line starts at index 1.
wrapper
Section titled “wrapper”
readonly
wrapper:HTMLElement
Defined in: client/code-block.ts:11
<code>
element wrapping the lines and overlays.