getMarkdownFence
Gets a Markdown code fence that the given content cannot close.
Import:
import { getMarkdownFence } from '@mnaoumov/obsidian-lib/bug-report-diagnostics';Signature:
function getMarkdownFence(content: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
content |
string | The content to fence. |
Returns: string — A run of backticks longer than the longest run in the content, and at least three long.