Skip to content

Commit

Permalink
Update docs/syntax/optional.md
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Feb 21, 2022
1 parent e1c5446 commit 545cfb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/syntax/optional.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ To achieve this, use the `myst_heading_anchors = DEPTH` configuration option, wh
For example, the following configuration in `conf.py` tells the `myst_parser` to generate labels for heading anchors for `h1`, `h2`, and `h3` level headings (corresponding to `#`, `##`, and `###` in markdown).

```python
`myst_heading_anchors = 3
myst_heading_anchors = 3
```

You can then insert markdown links directly to anchors that are generated from your header titles in your documentation.
Expand Down

0 comments on commit 545cfb0

Please sign in to comment.