mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
parent
3d7282c2bd
commit
de0674c116
@ -105,11 +105,19 @@ tags for other features).
|
|||||||
e.g. list
|
e.g. list
|
||||||
* Crosslinks to different pages should target the `top` anchor, like this
|
* Crosslinks to different pages should target the `top` anchor, like this
|
||||||
`[link to contributing](contributing.md#top)`.
|
`[link to contributing](contributing.md#top)`.
|
||||||
* If you have introduced a new document, please add a a `top` anchor at
|
* If you have introduced a new document, there is a simple template you
|
||||||
the top, like this
|
should use. It provides you with the top anchor mentioned above, and also
|
||||||
|
with a backlink to the top of the documentation:
|
||||||
```markdown
|
```markdown
|
||||||
<a id="top"></a>
|
<a id="top"></a>
|
||||||
# Contributing to Catch
|
# Cool feature
|
||||||
|
|
||||||
|
Text that explains how to use the cool feature.
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[Home](Readme.md#top)
|
||||||
```
|
```
|
||||||
* For pages with more than 4 subheadings, we provide a table of contents
|
* For pages with more than 4 subheadings, we provide a table of contents
|
||||||
(ToC) at the top of the page. Because GitHub markdown does not support
|
(ToC) at the top of the page. Because GitHub markdown does not support
|
||||||
|
Loading…
Reference in New Issue
Block a user