You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/routes/guide/(4)deploy.mdx
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,5 +4,4 @@ title: Deploy
4
4
5
5
# {frontmatter.title}
6
6
7
-
A SolidBase app can be deployed anywhere a SolidStart app can be deployed. You can use [Nitro's](https://nitro.build/deploy) in your `app.config.ts` to add presets to deploy your app to various platforms.
8
-
7
+
A SolidBase app can be deployed anywhere a SolidStart app can be deployed. You can use [Nitro](https://nitro.build/deploy) in your `app.config.ts` to add presets to deploy your app to various platforms.
@@ -71,93 +71,193 @@ You can automatically generate a table of contents (ToC) for your markdown files
71
71
72
72
Directives are custom blocks that can be used to highlight important information, warnings, tips, and more. They are similar to callouts or alerts in other documentation systems.
73
73
74
-
**Input**
75
74
76
-
```md
75
+
:::::tab-group[features-demo-directives]
76
+
::::tab[Markdown]
77
+
````md
77
78
:::info
78
79
Highlights information that users should take into account, even when skimming.
79
80
:::
81
+
````
82
+
::::
80
83
81
-
:::tip
82
-
Optional information to help a user be more successful.
83
-
:::
84
-
85
-
:::important
86
-
Crucial information necessary for users to succeed.
87
-
:::
88
-
89
-
:::warning
90
-
Critical content demanding immediate user attention due to potential risks.
91
-
:::
92
-
93
-
:::danger
94
-
Negative potential consequences of an action.
95
-
:::
96
-
97
-
:::details
98
-
This is a details block.
99
-
:::
100
-
```
101
-
102
-
**Output**
84
+
::::tab[HTML Output]
103
85
104
86
:::info
105
87
Highlights information that users should take into account, even when skimming.
106
88
:::
89
+
::::
90
+
:::::
91
+
92
+
:::::tab-group[features-demo-directives]
93
+
::::tab[Markdown]
94
+
````md
95
+
:::tip
96
+
Optional information to help a user be more successful.
97
+
:::
98
+
````
99
+
::::
107
100
101
+
::::tab[HTML Output]
108
102
:::tip
109
103
Optional information to help a user be more successful.
110
104
:::
105
+
::::
106
+
:::::
111
107
108
+
:::::tab-group[features-demo-directives]
109
+
::::tab[Markdown]
110
+
````md
112
111
:::important
113
112
Crucial information necessary for users to succeed.
114
113
:::
114
+
````
115
+
::::
115
116
117
+
::::tab[HTML Output]
118
+
:::important
119
+
Crucial information necessary for users to succeed.
120
+
:::
121
+
::::
122
+
:::::
123
+
124
+
:::::tab-group[features-demo-directives]
125
+
::::tab[Markdown]
126
+
````md
116
127
:::warning
117
128
Critical content demanding immediate user attention due to potential risks.
118
129
:::
130
+
````
131
+
::::
132
+
133
+
::::tab[HTML Output]
134
+
:::warning
135
+
Critical content demanding immediate user attention due to potential risks.
136
+
:::
137
+
::::
138
+
:::::
139
+
140
+
:::::tab-group[features-demo-directives]
141
+
::::tab[Markdown]
142
+
````md
143
+
:::danger
144
+
Negative potential consequences of an action.
145
+
:::
146
+
````
147
+
::::
119
148
149
+
::::tab[HTML Output]
120
150
:::danger
121
151
Negative potential consequences of an action.
122
152
:::
153
+
::::
154
+
:::::
123
155
156
+
157
+
:::::tab-group[features-demo-directives]
158
+
::::tab[Markdown]
159
+
````md
124
160
:::details
125
161
This is a details block.
126
162
:::
163
+
````
164
+
::::
165
+
166
+
::::tab[HTML Output]
167
+
:::details
168
+
This is a details block.
169
+
:::
170
+
::::
171
+
:::::
127
172
128
173
### Custom Directive Titles
129
174
130
175
To set a custom title for a directive, use square brackets `[]` immediately after the directive type.
131
176
132
-
**Input**
133
177
134
-
```md
178
+
:::::tab-group[features-demo-directives-titles]
179
+
::::tab[Markdown]
180
+
````md
135
181
:::info[Custom Title]
136
182
Highlights information that users should take into account, even when skimming.
137
183
:::
184
+
````
185
+
::::
186
+
187
+
::::tab[HTML Output]
188
+
:::info[Custom Title]
189
+
Highlights information that users should take into account, even when skimming.
190
+
:::
191
+
::::
192
+
:::::
193
+
194
+
195
+
196
+
:::::tab-group[features-demo-directives-titles]
197
+
::::tab[Markdown]
198
+
````md
199
+
:::tip[]
200
+
This is a tip with no title.
201
+
:::
202
+
````
203
+
::::
138
204
205
+
::::tab[HTML Output]
139
206
:::tip[]
140
207
This is a tip with no title.
141
208
:::
209
+
::::
210
+
:::::
211
+
142
212
213
+
:::::tab-group[features-demo-directives-titles]
214
+
::::tab[Markdown]
215
+
````md
143
216
:::details[Click me to view]
144
217
This is a details block.
145
218
:::
146
-
```
219
+
````
220
+
::::
147
221
148
-
**Output**
222
+
::::tab[HTML Output]
223
+
:::details[Click me to view]
224
+
This is a details block.
225
+
:::
226
+
::::
227
+
:::::
149
228
150
-
:::info[Custom Title]
151
-
Highlights information that users should take into account, even when skimming.
229
+
## Tabs
230
+
231
+
::::::tab-group
232
+
:::::tab[Markdown]
233
+
234
+
````mdx
235
+
::::tab-group[key]
236
+
:::tab[Title A]
237
+
Hey I'm A
152
238
:::
153
239
154
-
:::tip[]
155
-
This is a tip with no title.
240
+
:::tab[Title B]
241
+
Hi this is B
156
242
:::
243
+
::::
244
+
````
245
+
:::::
157
246
158
-
:::details[Click me to view]
159
-
This is a details block.
247
+
:::::tab[HTML Output]
248
+
::::tab-group
249
+
:::tab[Title A]
250
+
Hey I'm A
251
+
:::
252
+
253
+
:::tab[Title B]
254
+
Hi this is B
160
255
:::
256
+
::::
257
+
:::::
258
+
::::::
259
+
260
+
`[key]` is used for syncing and persistance.
161
261
162
262
## GitHub Flavored Markown
163
263
@@ -167,59 +267,98 @@ In addition to the standard markdown syntax, SolidBase also supports several Git
167
267
168
268
In addition to the directives above, SolidBase also supports [GitHub-flavored alerts](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts). These alerts can render as callouts with similar styles to the [directives above](#directives).
169
269
170
-
```md
270
+
:::::tab-group[features-demo-directives-gfm]
271
+
::::tab[Markdown]
272
+
````md
171
273
> [!NOTE]
172
274
> Highlights information that users should take into account, even when skimming.
275
+
````
276
+
::::
173
277
174
-
> [!TIP]
175
-
> Optional information to help a user be more successful.
176
-
177
-
> [!IMPORTANT]
178
-
> Crucial information necessary for users to succeed.
179
-
180
-
> [!WARNING]
181
-
> Critical content demanding immediate user attention due to potential risks.
182
-
183
-
> [!CAUTION]
184
-
> Negative potential consequences of an action.
185
-
```
186
-
278
+
::::tab[HTML Output]
187
279
{/* prettier-ignore */}
188
280
> [!NOTE]
189
281
> Highlights information that users should take into account, even when skimming.
282
+
::::
283
+
:::::
284
+
190
285
286
+
:::::tab-group[features-demo-directives-gfm]
287
+
::::tab[Markdown]
288
+
````md
289
+
> [!TIP]
290
+
> Optional information to help a user be more successful.
291
+
````
292
+
::::
293
+
294
+
::::tab[HTML Output]
191
295
{/* prettier-ignore */}
192
296
> [!TIP]
193
297
> Optional information to help a user be more successful.
298
+
::::
299
+
:::::
300
+
301
+
:::::tab-group[features-demo-directives-gfm]
302
+
::::tab[Markdown]
303
+
````md
304
+
> [!IMPORTANT]
305
+
> Crucial information necessary for users to succeed.
306
+
````
307
+
::::
194
308
309
+
::::tab[HTML Output]
195
310
{/* prettier-ignore */}
196
311
> [!IMPORTANT]
197
312
> Crucial information necessary for users to succeed.
313
+
::::
314
+
:::::
198
315
316
+
:::::tab-group[features-demo-directives-gfm]
317
+
::::tab[Markdown]
318
+
````md
319
+
> [!WARNING]
320
+
> Critical content demanding immediate user attention due to potential risks.
321
+
322
+
````
323
+
::::
324
+
325
+
::::tab[HTML Output]
199
326
{/* prettier-ignore */}
200
327
> [!WARNING]
201
328
> Critical content demanding immediate user attention due to potential risks.
329
+
::::
330
+
:::::
202
331
332
+
:::::tab-group[features-demo-directives-gfm]
333
+
::::tab[Markdown]
334
+
````md
335
+
> [!CAUTION]
336
+
> Negative potential consequences of an action.
337
+
````
338
+
::::
339
+
340
+
::::tab[HTML Output]
203
341
{/* prettier-ignore */}
204
342
> [!CAUTION]
205
343
> Negative potential consequences of an action.
344
+
::::
345
+
:::::
206
346
207
347
### Autolinks
208
348
209
-
SolidBase is able to automatically detect and convert URLs into clickable links. This works for URLs containing the protocol (e.g., `https://example.com`) as well as those without (e.g., `www.example.com` or `example.com`).
210
-
211
-
**Input**
349
+
SolidBase is able to automatically detect and convert URLs into clickable links.
0 commit comments