FormatCodeBlockParams
The parameters of formatCodeBlock.
Import:
import type { FormatCodeBlockParams } from '@mnaoumov/obsidian-lib/modals/code-block-builder';Signature:
export interface FormatCodeBlockParamsProperties
| Property | Type | Description |
|---|---|---|
| fields | readonly CodeBlockBuilderInput[] | The fields of the code block. |
| language | string | The language of the code block. |
| values | ReadonlyMap<string, CodeBlockBuilderValue> | The value of each field, by its key. A field missing from it holds its default value. |
Links to this page: