Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcode tables don't show up within tabs #163

Open
2 tasks done
ginsm opened this issue Mar 11, 2024 · 2 comments
Open
2 tasks done

Shortcode tables don't show up within tabs #163

ginsm opened this issue Mar 11, 2024 · 2 comments

Comments

@ginsm
Copy link

ginsm commented Mar 11, 2024

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for support

Describe the bug

I tried to create a table using the shortcode tables within a tab and it doesn't appear:

{{< tabs tabTotal="2">}}
{{% tab tabName="Example" %}}

{{< table >}}
| Animal | Sounds | Legs |
|---------|--------|-----|
| `Cat` | Meow | 4 |
| `Dog` | Woof | 4 |
| `Cricket` | Chirp | 6 |
{{< /table >}}

{{% /tab %}}
{{% tab tabName="Another Tab" %}}

{{< table "table-hover" >}}
| Animal | Sounds | Legs |
|---------|--------|-----|
| `Cat` | Meow | 4 |
| `Dog` | Woof | 4 |
| `Cricket` | Chirp | 6 |
{{< /table >}}

{{% /tab %}}
{{< /tabs >}}

Normal tables appear just fine.

Expected behavior

I'd expect the shortcode tables to appear within the tabs.

Screenshots

No response

Environment

- OS: Windows
- Browser: Brave | Chrome
- Browser Version: v1.63.169 | v122.0.6261.112
@LuigiColantuono
Copy link

LuigiColantuono commented Apr 3, 2024

Hi, I had the same problem with prism.
The dev should add nesting support.

Edit: However I tried the code you posted and it works.
pagtPAk

@ginsm
Copy link
Author

ginsm commented Apr 3, 2024

Huh. Perhaps it's an issue with how I have LotusDocs/Hugo set up then? Since it wasn't working for me when I ran that example. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants