Skip to content

Multiple custom code samples for the same language / TypeScript support #1035

Closed
@m-murasovs

Description

@m-murasovs

What I'm trying to achieve:

I want to add code examples that use both our JavaScript API client and the TypeScript clients using the x-codeSamples approach.

The issue

Since there's no TS support for now (is there a plan to add this btw?), I wanted to add multiple examples, just like there are for each language by default (e.g. JavaScript has Fetch, jQuery, and XHR), but I haven't been able to find a way that works.

The question

Is it possible to add multiple code snippets using x-codeSamples?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions