Skip to content

Commit 5107274

Browse files
authored
Merge pull request #91 from solana-developers/use-collapsible-sections
Use collapsible sections for the examples list
2 parents a878db4 + 6afa110 commit 5107274

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

README.md

+22-6
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ Each folder includes examples for one or more of the following
1717

1818
If a given example is missing, please add it!
1919

20-
## The example projects!
20+
## The example projects
2121

22-
### basics
22+
<details>
23+
<summary>Basics</summary>
2324

2425
#### account-data
2526

@@ -81,7 +82,9 @@ If a given example is missing, please add it!
8182

8283
[anchor](./basics/transfer-sol/anchor), [native](./basics/transfer-sol/native), [seahorse](./basics/transfer-sol/seahorse)
8384

84-
### tokens
85+
</details>
86+
<details>
87+
<summary>Tokens</summary>
8588

8689
#### create-token
8790

@@ -111,7 +114,11 @@ If a given example is missing, please add it!
111114

112115
[anchor](./tokens/transfer-tokens/anchor), [native](./tokens/transfer-tokens/native), [seahorse](./tokens/transfer-tokens/seahorse)
113116

114-
### tokens/token-2022
117+
</details>
118+
119+
<details>
120+
121+
<summary>Token Extensions</summary>
115122

116123
#### basics
117124

@@ -165,7 +172,10 @@ If a given example is missing, please add it!
165172

166173
[anchor](./tokens/token-2022/transfer-fee/anchor), [native](./tokens/token-2022/transfer-fee/native)
167174

168-
### compression
175+
</details>
176+
<details>
177+
178+
<summary>Compression</summary>
169179

170180
#### cnft-burn
171181

@@ -179,12 +189,18 @@ If a given example is missing, please add it!
179189

180190
[anchor](./compression/cutils/anchor)
181191

182-
### oracles
192+
</details>
193+
194+
<details>
195+
196+
<summary>Oracles</summary>
183197

184198
#### pyth
185199

186200
[anchor](./oracles/pyth/anchor), [seahorse](./oracles/pyth/seahorse)
187201

202+
</details>
203+
188204
## Examples We'd Love to See!
189205

190206
- Examples needed for Native:

0 commit comments

Comments
 (0)