Skip to content

Custom code block names #154

@thephez

Description

@thephez

Context

I recently used a documentation tool that allowed assigning custom names to tabbed code blocks. For example, something like this would result in 2 tabs - one named "JavaScript" and one named "Node.js":

```javascript JavaScript
some js code
```
```javascript Node.js
some js code
```

This was a useful feature at times and would be nice to have in this (already very nice) extension. If I"m reading the docs correctly, it's already possible to name non-code block tabs, but I don't think that's true for code blocks.

Proposal

Adding a label/name option for code within a tab-set-code block and probably syncing based on that instead of the language attribute.

Tasks and updates

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions