You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there was a way that we could enable tabbed rendering of any definition lists. My use case is that the project I'm documenting has both a web console and a CLI, and I want to document using both interfaces to do each action, similar to the way Google does this:
I also want to use definition lists that are not tabbed, for definitions of things. So I need some way to distinguish between definition lists that should and shouldn't be tabbed. Currently that is done in JavaScript, by looking at whether the first element of the definition list is a pre element, but to expand this beyond code snippets, we probably need some other marker.
The text was updated successfully, but these errors were encountered:
So, I was wrong, it's not whether the first element is a pre element, it's whether there's any pre element in any definition. This fits my use case, though some styling is needed in the generic theme (currently the box is drawn around the pre element, where it needs to be around the dd element). It would be good though if we found a way to do it without requiring the pre element.
It would be nice if there was a way that we could enable tabbed rendering of any definition lists. My use case is that the project I'm documenting has both a web console and a CLI, and I want to document using both interfaces to do each action, similar to the way Google does this:
https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster
I also want to use definition lists that are not tabbed, for definitions of things. So I need some way to distinguish between definition lists that should and shouldn't be tabbed. Currently that is done in JavaScript, by looking at whether the first element of the definition list is a
pre
element, but to expand this beyond code snippets, we probably need some other marker.The text was updated successfully, but these errors were encountered: