RemoveCodeBlockParams
Options for removeCodeBlock.
Import:
import type { RemoveCodeBlockParams } from 'obsidian-dev-utils/obsidian/markdown-code-block-processor';Signature:
export interface RemoveCodeBlockParams extends GetCodeBlockMarkdownInfoParamsExtends: GetCodeBlockMarkdownInfoParams
Properties
| Property | Type | Description |
|---|---|---|
| app | App | An Obsidian app instance. (Inherited from GetCodeBlockMarkdownInfoParams) |
| ctx | MarkdownPostProcessorContext | A MarkdownPostProcessorContext object.(Inherited from GetCodeBlockMarkdownInfoParams) |
| el | HTMLElement | A HTMLElement representing the code block.(Inherited from GetCodeBlockMarkdownInfoParams) |
| resourceLockComponent | null | ResourceLockComponent | The resource-lock component used to lock the note while it is being modified. |
| shouldKeepGap? | boolean | Whether to keep the gap after removing the code block. |
| source | string | A source of the code block. (Inherited from GetCodeBlockMarkdownInfoParams) |
Links to this page: