imfing / hextra

🔯 Modern, batteries-included Hugo theme for creating beautiful doc, blog and static websites
https://imfing.github.io/hextra/
MIT License
763 stars 178 forks source link

Tabs inside steps doesn't working properly #437

Closed BorMor closed 3 months ago

BorMor commented 3 months ago

Hello, I'm trying to put tabs into a step but second tab doesn't work properly

Steps To Reproduce Use this simple code snipped to reproduce the issue

{{% steps %}}

### Step one

{{< tabs items="JSON,YAML,TOML" >}}

  {{< tab >}}**JSON**: JavaScript Object Notation (JSON){{< /tab >}}
  {{< tab >}}**YAML**: YAML is a human-readable data serialization language.{{< /tab >}}

{{< /tabs >}}

{{% /steps %}}

Expected Behavior

Second and further tabs show properly

Actual Behavior

Second and further tabs not show content and label properly

Screenshots

image

Environment

Additional Context

imfing commented 3 months ago

This will be fixed by #440

Please be aware that the Step shortcode is intended only for Markdown. So it's not recommended to put other shortcodes as content.