Skip to content

Remove autogenerated code samples when using x-codesamples #1036

Open
@tjperry07

Description

@tjperry07

Is your feature request related to a problem?

When add x-codeSamples, you have to enable the language in languageTabs to make it appear in the reference. This also makes the auto-generated ones appear.

Describe the solution you'd like

When using x-codeSamples for a specific language, the auto-generated ones should not appear or be a config option I can toggle on and off.

Describe alternatives you've considered

Turning off the language in question entirely
Editing the plugin code directly.
Tried to edit the CSS to hide the block, but they have the same CSS classes.

Additional context

If I went through the effort of creating custom code samples, I don't need the autogenerated ones.

Screenshot 2024-12-04 at 11 22 46 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreviewing 👀Undergoing manual audit to determine if issue should still be activeroadmapFeatures or bug fixes planned for future release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions