Add cross-references support
This commit is contained in:
@ -2,14 +2,17 @@
|
||||
|
||||
This is the first paragraph of the introduction chapter.
|
||||
|
||||
## First
|
||||
## First: Images
|
||||
|
||||
This is the first subsection. Please, admire the gloriousnes of Figure \ref{seagull_image}.
|
||||
This is the first subsection. Please, admire the gloriousnes of this seagull:
|
||||
|
||||

|
||||
|
||||

|
||||
A bigger seagull:
|
||||
|
||||
## Second
|
||||
{ width=320px }
|
||||
|
||||
## Second: Tables
|
||||
|
||||
This is the second subsection.
|
||||
|
||||
@ -18,17 +21,15 @@ Please, check [First] subsection.
|
||||
|
||||
Please, check [this](#first) subsection.
|
||||
|
||||
Please, check Table \ref{example_table}.
|
||||
|
||||
| Index | Name |
|
||||
| ----- | ---- |
|
||||
| 0 | AAA |
|
||||
| 1 | BBB |
|
||||
| ... | ... |
|
||||
|
||||
Table: This is an example table.\label{example_table}
|
||||
Table: This is an example table.
|
||||
|
||||
## Third
|
||||
## Third: Equations
|
||||
|
||||
Formula example: $\mu = \sum_{i=0}^{N} \frac{x_i}{N}$
|
||||
|
||||
@ -47,3 +48,27 @@ hello_world
|
||||
```
|
||||
|
||||
Check these unicode characters: ǽߢð€đŋμ
|
||||
|
||||
## Fourth: Cross references
|
||||
|
||||
These cross references are disabled by default. To enable them, check the
|
||||
_[Cross references](https://github.com/wikiti/pandoc-book-template#cross-references)_
|
||||
section on the README.md file.
|
||||
|
||||
Here's a list of cross references:
|
||||
|
||||
- Check @fig:seagull.
|
||||
- Check @tbl:table.
|
||||
- Check @eq:equation.
|
||||
|
||||
{#fig:seagull}
|
||||
|
||||
$$ y = mx + b $$ {#eq:equation}
|
||||
|
||||
| Index | Name |
|
||||
| ----- | ---- |
|
||||
| 0 | AAA |
|
||||
| 1 | BBB |
|
||||
| ... | ... |
|
||||
|
||||
Table: This is an example table. {#tbl:table}
|
||||
|
||||
Reference in New Issue
Block a user