> For the complete documentation index, see [llms.txt](https://wopehq.gitbook.io/muninn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wopehq.gitbook.io/muninn/config/html.md).

# HTML

Rarely, we may want to get the content of an element as html.

{% code title="HTML" %}

```markup
<div class="parent">
  <div class="blue">Blue Text</div>
</div>

```

{% endcode %}

{% code title="Config" %}

```javascript
{
    "parentHTML": {
        "selector": ".parent",
        "html": true
    } 
}

// or use this shortcut

{
    "parentHTML": ".parent | html"
}
```

{% endcode %}

{% code title="Output" %}

```javascript
{
    "parentHTML": "<div class=\"blue\">Blue Text</div>" 
}
```

{% endcode %}
