Spaces:
Running
Running
thibaud frere
commited on
Commit
·
6105bcd
1
Parent(s):
33b2b3a
update doc
Browse files
app/src/content/chapters/available-blocks.mdx
CHANGED
|
@@ -8,9 +8,9 @@ import Note from '../../components/Note.astro';
|
|
| 8 |
import FullWidth from '../../components/FullWidth.astro';
|
| 9 |
import Accordion from '../../components/Accordion.astro';
|
| 10 |
|
| 11 |
-
## Available
|
| 12 |
|
| 13 |
-
All the following
|
| 14 |
|
| 15 |
<br/>
|
| 16 |
<div className="button-group">
|
|
|
|
| 8 |
import FullWidth from '../../components/FullWidth.astro';
|
| 9 |
import Accordion from '../../components/Accordion.astro';
|
| 10 |
|
| 11 |
+
## Available components
|
| 12 |
|
| 13 |
+
**All** the following **components** are available in the **article.mdx** file. You can also create your own **components** by creating a new file in the `/components` folder.
|
| 14 |
|
| 15 |
<br/>
|
| 16 |
<div className="button-group">
|
app/src/content/chapters/writing-your-content.mdx
CHANGED
|
@@ -9,16 +9,16 @@ import audioDemo from '../assets/audio/audio-example.wav';
|
|
| 9 |
|
| 10 |
## Writing Your Content
|
| 11 |
|
| 12 |
-
### Introduction
|
| 13 |
|
| 14 |
-
Your article lives in one place
|
| 15 |
|
| 16 |
-
Everything is self-contained under `app/src/content/`:
|
| 17 |
-
- MDX
|
| 18 |
-
- Assets
|
| 19 |
-
- Embeds
|
| 20 |
|
| 21 |
-
The `article.mdx` file is the main entry point of your article.
|
| 22 |
|
| 23 |
<small className="muted">Example</small>
|
| 24 |
```mdx
|
|
|
|
| 9 |
|
| 10 |
## Writing Your Content
|
| 11 |
|
| 12 |
+
### **Introduction**
|
| 13 |
|
| 14 |
+
Your **article** lives in **one place**
|
| 15 |
|
| 16 |
+
Everything is **self-contained** under `app/src/content/`:
|
| 17 |
+
- **MDX**: `article.mdx` and [**optional chapters**](#chapters) in `chapters/`
|
| 18 |
+
- **Assets**: `assets/` (**images**, **audio**; tracked via **Git LFS**)
|
| 19 |
+
- **Embeds**: `embed/` (**HTMLEmbed** for **Plotly/D3**, etc.) — see [**HtmlEmbed**](#htmlembed)
|
| 20 |
|
| 21 |
+
The `article.mdx` file is the **main entry point** of your article.
|
| 22 |
|
| 23 |
<small className="muted">Example</small>
|
| 24 |
```mdx
|