give panel-tabsets an optional id so I can know when they open/close #5713
Closed
bryanwhiting
started this conversation in
Feature Requests
Replies: 1 comment
-
"id" has a meaning in HTML and this could be highly confusing. See suggested syntax below. # title
::: {panel-tabset}
## tab1
:::: {panel-tabset}
### tab1.tab1
hi
### tab1.tab2
wo
::::
## tab2
something else
:::
Or # title
:::: {panel-tabset}
## tab1
::: {panel-tabset}
### tab1.tab1
hi
### tab1.tab2
wo
:::
## tab2
something else
::::
since this is a Pandoc design/feature and because I don’t think there is a need for a change, I am going to close this as a not planned. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
The most annoying thing about panel-tabsets is figuring out where one starts and ends.
This is easy if you have two or three tabsets. But if you have a lot that are nested, you're suddenly left with code that looks like this:
Doesn't seem that bad, but when you have a bunch of
:::{callout-tip}
life soon gets pretty miserable seeing:::
everywhere and not knowing which:::
ends which tabset.Preferred behavior:
Obviously, others would know way better how to design this. But the thinking is if I know where it ends then I can more easily debug.
Beta Was this translation helpful? Give feedback.
All reactions