mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-08-15 14:53:29 -07:00
Prettier update
This commit is contained in:
parent
fe5950255a
commit
1d3208d1ac
2 changed files with 5 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ To add footnotes use the syntax `[^name]` inline, and define them with:<br>
|
|||
|
||||
```markdown
|
||||
Text with a footnote.[^1]
|
||||
|
||||
[^1]: A footnote.
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -78,17 +78,21 @@ This is rendered as:
|
|||
The link parser used in Forgejo can also work with the _double square brackets_ syntax in issues and
|
||||
other places where markdown is rendered:
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```markdown
|
||||
[[https://codeberg.org/]]
|
||||
```
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
will get rendered as <https://codeberg.org>.
|
||||
|
||||
You can also give a link description, as with the regular markdown syntax:
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```markdown
|
||||
[[This is a link to Codeberg|https://codeberg.org]]
|
||||
```
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
will be rendered as [This is a link to Codeberg](https://codeberg.org).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue