mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 14:55:51 +00:00
include include in the anatomy chapter
This commit is contained in:
parent
e51aa7a78c
commit
589972bc0f
1 changed files with 6 additions and 8 deletions
|
|
@ -116,15 +116,13 @@ parts:
|
|||
## Including a chapter twice
|
||||
In some cases you want to include the same chapter in two different places in your book (for instance parts). However, you do not want to make the same adjustments in different files, the content should only 'live' in one place. The solution is to use `include`:
|
||||
|
||||
``` {code-cell}
|
||||
````
|
||||
```{include} Argument
|
||||
```
|
||||
````
|
||||
|
||||
```{include} Argument
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
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.
|
||||
The *argument* in this case is the location of the file you want to include (for instance: `/basic-features/equations.md`). We provide an example of the use of `include` below: We included the chapter [equations](./equations.md) in this page.
|
||||
|
||||
|
||||
```{include} /book/basic-features/equations.md
|
||||
```{include} /basic-features/equations.md
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue