PrismCodeBlock
PrismCodeBlock =
object
Defined in: client/code-block.ts:7
Properties
Section titled “Properties”
readonlycode:string
Defined in: client/code-block.ts:18
The code of the code block.
container
Section titled “container”
readonlycontainer:HTMLPreElement
Defined in: client/code-block.ts:9
Outermost element of the code block.
language
Section titled “language”
readonlylanguage:string
Defined in: client/code-block.ts:20
The language of the code block.
readonlylines: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”
readonlywrapper:HTMLElement
Defined in: client/code-block.ts:11
<code> element wrapping the lines and overlays.