Skip to content

CodeOptions

ts
type CodeOptions = object;

Defined in: code.ts:14

Configuration options for a code element

Since

1.0.0

Author

Simon Kovtyk

Properties

fileName?

ts
optional fileName: string;

Defined in: code.ts:21

File name

Since

1.0.0

Author

Simon Kovtyk


isBlock?

ts
optional isBlock: boolean;

Defined in: code.ts:35

Flag to define, whether this is a block code or inline code

Since

1.0.0

Author

Simon Kovtyk


language?

ts
optional language: string;

Defined in: code.ts:28

Language of the code

Since

1.0.0

Author

Simon Kovtyk


lineHighlights?

ts
optional lineHighlights: LineHighlight[];

Defined in: code.ts:42

Highlight lines

Since

1.0.0

Author

Simon Kovtyk


lineNumbers?

ts
optional lineNumbers: LineNumbers;

Defined in: code.ts:49

Line numbers

Since

1.0.0

Author

Simon Kovtyk