DataviewInlineApi.paragraph method
DataviewInlineApi › paragraph
Creates a paragraph HTML element with the provided text and optional DOM element options.Signature:
paragraph(text: unknown, options?: DomElementInfoWithContainer | undefined): HTMLParagraphElementParameters:
| Parameter | Type | Description |
|---|---|---|
| text | unknown | The content of the paragraph. |
| options? | DomElementInfoWithContainer | undefined | Optional DOM element options, including an optional container. |
Returns: HTMLParagraphElement — The created HTML paragraph element.