mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 06:45:52 +00:00
excl config, incl example
This commit is contained in:
parent
cc93667296
commit
0c5dc60738
1 changed files with 1 additions and 8 deletions
|
|
@ -123,15 +123,8 @@ In some cases you want to include the same chapter in two different places in yo
|
|||
|
||||
```
|
||||
|
||||
The *argument* in this case is the location of the file you want to include (for instance: /book/1 mechanics/1H newton 3/demo1.md).
|
||||
The *argument* in this case is the location of the file you want to include (for instance: /book/1 mechanics/1H newton 3/demo1.md). We provide an example of the use of include below.
|
||||
|
||||
```{Note}
|
||||
Make sure to adjust your config file:
|
||||
sphinx:
|
||||
config:
|
||||
myst_enable_extensions:
|
||||
- include
|
||||
```
|
||||
|
||||
```{include} /book/basic-features/equations.md
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue