commercetools-docs-kit
commercetools-docs-kit copied to clipboard
Code block title doesn’t appear when using MultiCodeBlock
When using the MultiCodeBlock syntax, the code block titles don't appear. For example, for the following code:
the output is:
the MultiCodeBlock is intentionally built for the same example but in different programming languages that share the same title (there is a title prop in the MultiCodeBlock component)
if you need to have two different examples with two different titles they need to be two different blocks
We will improve the docs for this component here to further explain this