Skip to content

Commit 9a92523

Browse files
committed
Edit docs
1 parent 126e90f commit 9a92523

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

docs/syntax/dropdowns.md

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,7 @@ Dropdown content
5353

5454
## Deeplinking
5555

56-
Dropdowns support deeplinking via anchor links. When you navigate to a URL with a hash that points to a dropdown or content within a dropdown, the dropdown will automatically open. When you manually open a dropdown that has a name/anchor, the URL will automatically update to reflect the current state.
57-
58-
### Features
59-
60-
- **Automatic opening**: Navigate to `#dropdown-name` and the dropdown opens automatically
61-
- **URL updates**: Open a dropdown manually and the URL updates to show the anchor
62-
- **Nested content**: Link directly to headings or content within dropdowns
63-
- **Browser navigation**: Proper back/forward button support
56+
Dropdowns support deeplinking through anchor links. When you navigate to a URL with a hash that points to a dropdown or content within a dropdown, the dropdown will automatically open. When you manually open a dropdown that has a name/anchor, the URL will automatically update to reflect the current state.
6457

6558
:::::{tab-set}
6659

@@ -79,11 +72,6 @@ You can also link directly to content within dropdowns. This content has the anc
7972

8073
:::
8174

82-
**Test the features:**
83-
- [Link to dropdown](#deeplink-example) - Opens the dropdown and updates URL
84-
- [Link to nested content](#nested-content) - Opens dropdown and scrolls to nested content
85-
- Try opening/closing the dropdown manually and watch the URL change
86-
8775
::::
8876

8977
::::{tab-item} Markdown
@@ -100,23 +88,6 @@ When you open this dropdown manually by clicking the title, the URL will automat
10088
You can also link directly to content within dropdowns. This content has the anchor `#nested-content`.
10189

10290
:::
103-
104-
**Test the features:**
105-
- [Link to dropdown](#deeplink-example) - Opens the dropdown and updates URL
106-
- [Link to nested content](#nested-content) - Opens dropdown and scrolls to nested content
107-
- Try opening/closing the dropdown manually and watch the URL change
108-
```
10991
::::
11092

11193
:::::
112-
113-
### Use Cases
114-
115-
Deeplinking is particularly useful for:
116-
117-
- **FAQ sections**: Allow users to share links to specific questions
118-
- **Documentation**: Link directly to explanations that might be collapsed by default
119-
- **Troubleshooting guides**: Share direct links to specific solutions
120-
- **API documentation**: Link to specific endpoint details within collapsed sections
121-
122-
The URL behaves just like clicking on a heading with an anchor - it updates automatically when you interact with the content.

0 commit comments

Comments
 (0)