You will need to make Code Blocks then add the <CodeGroup> component around them. Every Code Block must have a filename because we use the names for the tab buttons.

See below for an example of the end result.