# `Kotoba.Nodes.CodeHighlight`
[🔗](https://github.com/hattoriai/kotoba/blob/v0.5.0/lib/kotoba/nodes/code_highlight.ex#L1)

A token of text in a code block (Lexical type `"code-highlight"`).

`highlight_type` is the token type from the highlighter, for example
`"keyword"`, or `nil`. The other fields are the same as in
`Kotoba.Nodes.Text`.

# `t`

```elixir
@type t() :: %Kotoba.Nodes.CodeHighlight{
  detail: term(),
  extra: term(),
  format: term(),
  highlight_type: term(),
  mode: term(),
  style: term(),
  text: term(),
  version: term()
}
```

---

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