Skip to content

CodeSnippetOptions

ts
type CodeSnippetOptions = object;

Defined in: code-snippet.ts:12

Configuration options for a code-snippet element

Since

1.0.0

Author

Simon Kovtyk

Properties

isRelative?

ts
optional isRelative: boolean;

Defined in: code-snippet.ts:33

Language of the code-snippet

Since

1.0.0

Author

Simon Kovtyk


language?

ts
optional language: string;

Defined in: code-snippet.ts:19

Language of the code-snippet

Since

1.0.0

Author

Simon Kovtyk


lineHighlights?

ts
optional lineHighlights: LineHighlight[];

Defined in: code-snippet.ts:47

Language of the code-snippet

Since

1.0.0

Author

Simon Kovtyk


lineNumbers?

ts
optional lineNumbers: LineNumbers;

Defined in: code-snippet.ts:26

Language of the code-snippet

Since

1.0.0

Author

Simon Kovtyk


section?

ts
optional section: string;

Defined in: code-snippet.ts:40

Language of the code-snippet

Since

1.0.0

Author

Simon Kovtyk