Modifies tabs block so that once you've defined a [.tabbed-example] section you can append any text to include-with- to define a new tab. Unless stated in the js the tab title is initial-capitalized.
Although I think this can be merged as-is, there are two areas we could improve now/in future
For anything other than capitalization of the term, we need to update the switch statement. Is there a better way to handle that?
GDS displays a tab when there is only one tab, other projects currently don't. Could we define this with something like a page attribute in the playbook?
Modifies tabs block so that once you've defined a
[.tabbed-example]
section you can append any text toinclude-with-
to define a new tab. Unless stated in the js the tab title is initial-capitalized.Although I think this can be merged as-is, there are two areas we could improve now/in future