OpenrelikWorkerCommon. Reporting. MarkdownDocumentSection
(openrelik_worker_common v0.1.0)
Copy Markdown
View Source
Represents a section of a Markdown document
(openrelik_worker_common.reporting.MarkdownDocumentSection).
Summary
Functions
Adds text formatted as a blockquote to the section.
Adds a bullet point to the section.
Adds text formatted as inline code to the section.
Adds text formatted as a code block to the section.
Adds a header to the section.
Adds a horizontal rule to the section.
Adds text formatted as a paragraph to the section.
Adds a MarkdownTable to the section.
Initializes a MarkdownDocumentSection struct.
Generates a Markdown representation of the section.
Types
@type t() :: %OpenrelikWorkerCommon.Reporting.MarkdownDocumentSection{ content: [String.t()], fmt: OpenrelikWorkerCommon.Reporting.MarkdownFormatter.t() }
Functions
Adds text formatted as a blockquote to the section.
Adds a bullet point to the section.
Adds text formatted as inline code to the section.
Adds text formatted as a code block to the section.
Adds a header to the section.
Adds a horizontal rule to the section.
Adds text formatted as a paragraph to the section.
@spec add_table(t(), OpenrelikWorkerCommon.Reporting.MarkdownTable.t()) :: t()
Adds a MarkdownTable to the section.
@spec new() :: t()
Initializes a MarkdownDocumentSection struct.
Generates a Markdown representation of the section.