diff --git a/site/content/docs/01-component-format.md b/site/content/docs/01-component-format.md index c7bcfaa800..05c55f9e0f 100644 --- a/site/content/docs/01-component-format.md +++ b/site/content/docs/01-component-format.md @@ -24,7 +24,7 @@ All three sections — script, styles and markup — are optional. A ` ``` -##### 2. Assignments are 'reactive' +#### 2. Assignments are 'reactive' --- @@ -109,7 +109,7 @@ Because Svelte's reactivity is based on assignments, using array methods like `. ``` -##### 3. `$:` marks a statement as reactive +#### 3. `$:` marks a statement as reactive --- @@ -171,7 +171,7 @@ If a statement consists entirely of an assignment to an undeclared variable, Sve ``` -##### 4. Prefix stores with `$` to access their values +#### 4. Prefix stores with `$` to access their values --- diff --git a/site/src/routes/docs/index.svelte b/site/src/routes/docs/index.svelte index a276b0edb7..ea79d7f5c9 100644 --- a/site/src/routes/docs/index.svelte +++ b/site/src/routes/docs/index.svelte @@ -1,6 +1,23 @@