You can add the Preview
component to the module
#3329
aanthonymax
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlight
are you using?0.34.5
What is your idea?
import { Preview } from "@astrojs/starlight/components";
Why is this feature necessary?
It's very strange that you yourself use this component in many places in the documentation, but when I looked for it in the sources, I couldn't find it. I had to go to the repository. Maybe it can be added, because it is useful in itself?
Do you have examples of this feature in other projects?
https://github.com/hmpl-language/hmpl/blob/2d97170e11dac819124edec95135cf7112a5f68c/www/new-app/src/content/docs/objects/instance.mdx?plain=1#L17
Participation
Beta Was this translation helpful? Give feedback.
All reactions