Skip to content

Commit

Permalink
[DOC] Add note about int eq labels in math directive (#720)
Browse files Browse the repository at this point in the history
* add note about int eq labels in math directive

* update note about int eq labels in math directive

* commit suggestion

Co-authored-by: Chris Holdgraf <[email protected]>

Co-authored-by: Chris Holdgraf <[email protected]>
  • Loading branch information
najuzilu and choldgraf authored Jun 18, 2020
1 parent 0ab1b6d commit 485e800
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/content/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ Will generate this:
w_{t+1} = (1 + r_{t+1}) s(w_t) + y_{t+1}
```


```{note}
Labels cannot start with an integer, or they won't be able to be referenced and
will throw a warning message if referenced. For example, `:label: 1` and `:label: 1eq` cannot
be referenced.
```

### Linking to equations

If you've created an equation with a label, you can link to it from within your text
Expand Down

0 comments on commit 485e800

Please sign in to comment.