-
-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Description
In all framework's docs, there's a demo and its code snippet. That's it.
However, I think when a developer looks though docs to find the required code he/she only wants to check out the code that is necessary to recreate the shown demo.
For example:
- In the demo of alert colors, we have lots of markup but only
color
prop matters so we should only highlight the color prop line. - In slots demos, we might have some variable in
script
block and some additional markup intemplate
block but what really matters is the usage of slot show we should highlight the lines that demonstrate the slot for that demo.
We already done this in some snippets but it is great docs improvement if we consider this for all snippets.
Metadata
Metadata
Assignees
Labels
No labels