# `MDEx.CommentInline`
[🔗](https://github.com/leandrocp/mdex/blob/v0.14.5/lib/mdex/document.ex#L3695)

An Obsidian `%%comment%%` span, enabled with `extension: [ofm_comments: true]`.

The literal excludes delimiters. Like Obsidian, rendered output (HTML, Slack,
and Delta) omits comments, while Markdown output and the document tree (AST,
JSON, and XML) keep them. Do not store secrets in them.

# `t`

```elixir
@type t() :: %MDEx.CommentInline{literal: String.t(), sourcepos: term()}
```

---

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