Skip to content

Allow setting preferred framework using query parameter #3769

Open
@abdullahtellioglu

Description

@abdullahtellioglu

Tell us about your request

In Copilot, there is a documentation plugin that fetches and loads the HTML content of the selected component page and displays the HTML inline. Documentation relies on code most often so displaying example codes in the Copilot would be a nice feature to have. The problem about displaying the code examples is that we are unable to set the framework.

A solution would be setting the preferred framework from the query parameter that initialize documentation with the given query parameter. Something like https://vaadin.com/docs/latest/components/icons?code=flow or https://vaadin.com/docs/latest/components/icons=react or https://vaadin.com/docs/latest/components/icons=lit

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