quote()
ts
function quote(nodes): Node;Defined in: quote.ts:30
Builder-element for a blockquote
Parameters
| Parameter | Type | Description |
|---|---|---|
nodes | (string | Node)[] | Content of this element |
Returns
A markdown node
Example
ts
import { define, quote } from "@ogs-gmbh/markdown";
const markdown = define(
quote(
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe"
)
);
console.assert(
markdown.toString()
);See
Since
1.0.0
Author
Simon Kovtyk