footnoteLink()
ts
function footnoteLink(index): Node;Defined in: footnote.ts:27
Builder-element for a footnote link
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | Index of the footnote |
Returns
A markdown node
Example
ts
import { define, footnoteLink, paragraph } from "@ogs-gmbh/markdown";
const markdown = define(
paragraph("This is described in footnote"),
foootnoteLink(1)
);
console.assert(
markdown.toString()
);See
Since
1.0.0
Author
Simon Kovtyk