-
Notifications
You must be signed in to change notification settings - Fork 116
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
Adding an image inside tabs does not work correctly #225
Comments
Can you paste the example above in a code block? |
Like this? Steps to reproduce
When inserting the images with a strange relative path |
Can you try add new lines before and after the image markdown? |
Actually that's what I did initially. |
you may use the relative path
In |
Yes, as I stated before, I figured this out already. |
I understand that's unintuitive but that's how Hugo handles the assets files under a folder. What we see in the file system is
that's the reason why we need to use relative path. I created a PR previously to improve the image resolution logic: seems it's not working here. I will take a look and see if I could make the above work in shortcodes here. |
Description
When trying to add an image within a tabs shortcode only the alt text is shown, not the image itself.
Steps To Reproduce
{{< tabs items="tab1, tab2, tab3" >}}
{{< tab >}}
{{< /tab >}}
{{< tab >}}
{{< /tab >}}
{{< tab >}}
{{< /tab >}}
{{< /tabs >}}
The images are shown within the tabs
Actual Behavior
The alt texts are shown
Additional Context
When inserting the images with they are displayed correctly.
The text was updated successfully, but these errors were encountered: