Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting preferred framework using query parameter #3769

Open
abdullahtellioglu opened this issue Oct 7, 2024 · 0 comments
Open

Allow setting preferred framework using query parameter #3769

abdullahtellioglu opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@abdullahtellioglu
Copy link

abdullahtellioglu commented Oct 7, 2024

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

@abdullahtellioglu abdullahtellioglu added the enhancement New feature or request label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant