Documentation/content/markdown/markdown-styleguide.md
crapStone da1b77aa6a Add woodpecker ci & many linters (and their required fixes) (#377)
closes #238

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-authored-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/377
Co-authored-by: crapStone <crapstone01@gmail.com>
Co-committed-by: crapStone <crapstone01@gmail.com>
2024-06-11 07:51:22 +00:00

45 lines
1.2 KiB
Markdown

---
eleventyNavigation:
key: MarkdownStyleguide
title: Markdown Styleguide
parent: Markdown
order: 10
---
This document should serve as a guide for the Markdown format which is commonly used in Codeberg.
## Bold
Use two stars at the beginning and the end of a section of text to **highlight the section in bold**.
## Italics
Use one star at the beginning and the end of a section to _highlight the section in italics_.
## Links
Use `[link description](link)` to link to another section, article or website.
To insert a link without a link description, surround the link by less-than `<` and
greater-than `>` characters. This is preferred to just adding an url within the text as it
is easier to parse the URLs.
Example:
<https://codeberg.org/>
## Topics
Use ATX Style topics by adding one or more hash `#` signs to the start of the topic line.
## Preformatted sections
Use a single backtick characters to preformat a word or a section within a line.
Use three backticks to begin and end a preformatted section.
Use rendering hints to tell the renderer whether to syntax highlight your section and which language should be used.
## Tables
Always delimit both sides of a table with pipes `|`. Keep the tables readable even in the un-rendered text-form.