obsidian/markdown-code-block-processor
This module provides utility functions for processing code blocks in Obsidian.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| GetCodeBlockMarkdownInfoParams | Options for getCodeBlockMarkdownInfo. |
| InsertCodeBlockParams | Options for insertAfterCodeBlock / insertBeforeCodeBlock. |
| RemoveCodeBlockParams | Options for removeCodeBlock. |
| ReplaceCodeBlockParams | Options for replaceCodeBlock. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| getCodeBlockMarkdownInfo | Gets the information about a code block in a Markdown section. |
| insertAfterCodeBlock | Inserts text after the code block. |
| insertBeforeCodeBlock | Inserts text before the code block. |
| removeCodeBlock | Removes the code block. |
| replaceCodeBlock | Replaces the code block. |