mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
Introduction to markdown other style (#724)
The linter enforced one style but the introduction should show both styles, add a ignore lint and make it show the other style. Reported-by: @mahlzahn Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/724 Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org> Reviewed-by: Robert Wolff <mahlzahn@posteo.de> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
parent
ad9e3c53e0
commit
41f747ab47
1 changed files with 10 additions and 4 deletions
|
|
@ -6,6 +6,8 @@ eleventyNavigation:
|
|||
order: 20
|
||||
---
|
||||
|
||||
<!-- markdownlint-disable MD049 MD050 -->
|
||||
|
||||
Markdown files are basically normal text files. The file extension `.md` specifies that a file can be rendered as Markdown.
|
||||
You can also use Markdown in many parts of Codeberg (Issues, Pull Requests, etc.).
|
||||
|
||||
|
|
@ -44,13 +46,15 @@ This gets rendered as
|
|||
|
||||
This is **bold text**.
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```markdown
|
||||
This is also **bold text**.
|
||||
This is also __bold text__.
|
||||
```
|
||||
|
||||
This gets rendered as
|
||||
|
||||
This is also **bold text**.
|
||||
This is also __bold text__.
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
### Italics
|
||||
|
||||
|
|
@ -61,13 +65,15 @@ to get the same effect.
|
|||
|
||||
Here are a few examples.
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```markdown
|
||||
This is _italic text_.
|
||||
This is *italic text*.
|
||||
```
|
||||
|
||||
This gets rendered as
|
||||
|
||||
This is _italic text_.
|
||||
This is *italic text*.
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
```markdown
|
||||
This is also _italic text_.
|
||||
|
|
|
|||
Loading…
Reference in a new issue