Closed recrwplay closed 3 years ago
At some point, we should probably make the code more agnostic. It does not feel right to blend GDS modes in programming languages. Having said that, that would require larger changes so we can keep it that way until we need to add even more tabbed sections.
I agree it's not perfect, but for now it satisfies our needs until we can make those improvements.
I agree it's not perfect, but for now it satisfies our needs until we can make those improvements.
:+1: I approved the pull request so this is good to go.
@adam-cowley do you want to review before merge?
Yeah looks fine to me for now
Adds the GDS modes to the list of 'langs' that can be tabbed.
Also, GDS prefer to display the tab even when there is only one tab, for example in Collapse Path. This PR displays the single tab if the 'lang' is a GDS mode.