# `OpenrelikWorkerCommon.Reporting.MarkdownDocumentSection`
[🔗](https://github.com/hacktobeer/openrelik-worker-common-elixir/blob/v0.1.0/lib/openrelik_worker_common/reporting.ex#L219)

Represents a section of a Markdown document
(`openrelik_worker_common.reporting.MarkdownDocumentSection`).

# `t`

```elixir
@type t() :: %OpenrelikWorkerCommon.Reporting.MarkdownDocumentSection{
  content: [String.t()],
  fmt: OpenrelikWorkerCommon.Reporting.MarkdownFormatter.t()
}
```

# `add_blockquote`

```elixir
@spec add_blockquote(t(), String.t()) :: t()
```

Adds text formatted as a blockquote to the section.

# `add_bullet`

```elixir
@spec add_bullet(t(), String.t(), keyword() | integer()) :: t()
```

Adds a bullet point to the section.

# `add_code`

```elixir
@spec add_code(t(), String.t()) :: t()
```

Adds text formatted as inline code to the section.

# `add_code_block`

```elixir
@spec add_code_block(t(), String.t()) :: t()
```

Adds text formatted as a code block to the section.

# `add_header`

```elixir
@spec add_header(t(), String.t(), keyword() | integer()) :: t()
```

Adds a header to the section.

# `add_horizontal_rule`

```elixir
@spec add_horizontal_rule(t()) :: t()
```

Adds a horizontal rule to the section.

# `add_paragraph`

```elixir
@spec add_paragraph(t(), String.t()) :: t()
```

Adds text formatted as a paragraph to the section.

# `add_table`

```elixir
@spec add_table(t(), OpenrelikWorkerCommon.Reporting.MarkdownTable.t()) :: t()
```

Adds a `MarkdownTable` to the section.

# `new`

```elixir
@spec new() :: t()
```

Initializes a `MarkdownDocumentSection` struct.

# `to_markdown`

```elixir
@spec to_markdown(t()) :: String.t()
```

Generates a Markdown representation of the section.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
