Skip to content

InsertCodeBlockParams

Parameters for insertCodeBlock.

Import:

import type { InsertCodeBlockParams } from 'obsidian-dev-utils/obsidian/dataview';

Signature:

export interface InsertCodeBlockParams

Properties

PropertyTypeDescription
codestringThe code content to be inserted into the code block.
dvDataviewInlineApiThe DataviewInlineApi instance to insert the code block into.
languagestringThe language identifier for the code block.

Links to this page: