From 67587f3506ac58b6fd8e6aebff3e6b0146ce71ca Mon Sep 17 00:00:00 2001 From: Geoff Rich Date: Fri, 13 Nov 2020 16:37:28 -0800 Subject: [PATCH] docs: fix heading order --- site/content/docs/01-component-format.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/site/content/docs/01-component-format.md b/site/content/docs/01-component-format.md index 8eac5d3c50..7286205bdf 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' --- @@ -107,7 +107,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 --- @@ -143,7 +143,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 --- @@ -172,7 +172,7 @@ Local variables (that do not represent store values) must *not* have a `$` prefi ``` -##### Store contract +#### Store contract ```js store = { subscribe: (subscription: (value: any) => void) => (() => void), set?: (value: any) => void }