Markdown

Aus Tom's Wiki
Version vom 31. Dezember 2024, 16:39 Uhr von Thomas (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Syntax == Syntax is not universal, applications can use alternative or additional syntax to achieve the same effect. <ref>https://de.wikipedia.org/wiki/Markdown</ref> === Basic === {| class="wikitable" |+ !Element !Markdown Syntax |- |Heading |# H1 <nowiki>##</nowiki> H2 <nowiki>###</nowiki> H3 |- |Bold |** Bold ** |- |Italic |* Italic * |- |Blockquote |> Blockquote |- |Ordered List |1. First 2. Second 3. Third |- |Unordered List | - First - Second -…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Syntax

Syntax is not universal, applications can use alternative or additional syntax to achieve the same effect. [1]

Basic

Element Markdown Syntax
Heading # H1

## H2 ### H3

Bold ** Bold **
Italic * Italic *
Blockquote > Blockquote
Ordered List 1. First

2. Second 3. Third

Unordered List - First

- Second - Third

Code `code`
Horizontal Rule ---
Link [title](https://example.com)
Image ![alt text](image.jpg)

Extended

Element Markdown Syntax
Table | Syntax | Desc |

| ------------ | ------------ | | Header | Title | | Paragraph | Text |

Fenced Code Block ```

{ "abc": "def", "xyz": 123 } ```

Footnote Text with reference. [^1]

[^1]: Footnote text

Heading ID # H1 {#custom-id}
Definition List term

: definition

Strikethrough ~~Strikethrough~~
Task List - [X] Completed

- [ ] Backburner

Emoji Funny example :joy:
Highlight ==Highlight==
Subscript Molecule H~2~O
Superscript Exponent x^2^

Other

Element Markdown Syntax
Underline __Underlined__

What applications support what?

(List is incomplete)

Y = Supported

N = Not Supported

Application Name Bold Italic Underline Strikethrough Headers Link Lists Code blocks Block quote Other
WhatsApp [2] Y, via *this* Y, via _this_ Y, via ~this~ Y, via - / * Y, but only `inline` Y Monospace via ```this```

(Same as codeblock?)

Discord [3] Y Y, via *this* or _that_ Y Y Y Y Unordered only?

2 spaces before - / * leads to indentation

`Single line`

```python x = 'multiline' ```

Y

(>>> intends multiple lines, but looks the same)

Subtext via -# text

References