nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.32k stars 378 forks source link

✨ Feature Request: Tabs shortcode support #1482

Open ShaharNaveh opened 3 months ago

ShaharNaveh commented 3 months ago

Is your feature request related to a problem? Please describe. I'm trying to add inline tabs to my website, where a user can click on a button and it will show different content depends on the selected button.

Describe the solution you'd like I would love if blowfish theme would have it's own shortcode for tabs:)

Describe alternatives you've considered I've tried to manually install https://github.com/rvanhorn/hugo-dynamic-tabs And some other examples online. They all don't render properly :disappointed:

How it renders ![bad_tags](https://github.com/nunocoracao/blowfish/assets/50263213/b9ed40b3-3eed-4e10-892c-25223080184d) markdown source taken from their [official example](https://github.com/rvanhorn/hugo-dynamic-tabs/blob/d88a151109609187fbd3906290436883b9899354/demo/content/_index.md)

Additional context In case it's not clear to what I'm referring to: tab_1

tab_2


Any response would be very appreciated, love the theme:)

nunocoracao commented 2 months ago

Why do people keep submitting cool features like this??? jk thanks :)

AndydeCleyre commented 2 months ago

For some bonus inspiration...

mkdocs-material offers a feature where if you have repeated sets of the same-titled tabs on a page, selecting a tab in one tab set also selects that same-named tab in the others.

Example: https://zpy.readthedocs.io/en/latest/python_versions/

Anyway, thanks for blowfish, it's great!