From 589972bc0f0d0494fa708078169c723bb9455413 Mon Sep 17 00:00:00 2001 From: Freek Pols Date: Wed, 4 Sep 2024 15:54:23 +0200 Subject: [PATCH] include include in the anatomy chapter --- book/basic-features/jupyterbook.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/book/basic-features/jupyterbook.md b/book/basic-features/jupyterbook.md index 214c4a1..ef01edf 100644 --- a/book/basic-features/jupyterbook.md +++ b/book/basic-features/jupyterbook.md @@ -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 ``` \ No newline at end of file