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

Represents a Markdown table (`openrelik_worker_common.reporting.MarkdownTable`).

# `t`

```elixir
@type t() :: %OpenrelikWorkerCommon.Reporting.MarkdownTable{
  columns: [String.t()],
  rows: [[String.t()]]
}
```

# `add_row`

```elixir
@spec add_row(t(), [String.t()]) :: t()
```

Adds a row of data to the table.

Raises `ArgumentError` if the number of elements in `row_data` does not match `table.columns`.

# `new`

```elixir
@spec new([String.t()]) :: t()
```

Initializes a `MarkdownTable` struct with the given column names.

# `to_markdown`

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

Generates a Markdown representation of the table.

---

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