mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-13 14:45:52 +00:00
update tip
This commit is contained in:
parent
09e0a7a2ce
commit
601c7704f0
2 changed files with 7 additions and 2 deletions
|
|
@ -30,6 +30,11 @@ If you leave the text part empty, the title of the chapter you're referring to w
|
|||
```md
|
||||
[](path/to/file.md)
|
||||
```
|
||||
|
||||
```{tip}
|
||||
If the chapter you're referring to is in different directory than your chapter, you'll need to refer it using relative parts. If the to be referenced chapter is in a subdirectory of the directory of the chapter, go deeper with `subdirectory/` (e.g. `<subdirectory>/<chapter in subdirectory>.md`). If the to be referenced chapter is in another directory, move upwards with `../` (e.g. `../../<subdirectory>/<chapter which is located in a subdirectory two folders above the current page.md>` )
|
||||
```
|
||||
|
||||
3. Try out another way of referencing by using a target header. Navigate to the chapter or section you want to reference and assign it an identifier using `{ref}` as shown in the example below.
|
||||
|
||||
```md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue