getCodeBlockMarkdownInfo
Gets the information about a code block in a Markdown section.
Import:
import { getCodeBlockMarkdownInfo } from 'obsidian-dev-utils/obsidian/markdown-code-block-processor';Signature:
function getCodeBlockMarkdownInfo(params: GetCodeBlockMarkdownInfoParams): Promise<CodeBlockMarkdownInformation | null>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | GetCodeBlockMarkdownInfoParams | The parameters for the function. |
Returns: Promise<CodeBlockMarkdownInformation | null> — The information about the code block in the Markdown section.
Links to this page: