Markdown: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
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 -…“ |
Thomas (Diskussion | Beiträge) K Updated WhatsApp unsupported markdown elements |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 11: | Zeile 11: | ||
|# H1 | |# H1 | ||
<nowiki>##</nowiki> H2 | <nowiki>##</nowiki> H2 | ||
<nowiki>###</nowiki> H3 | <nowiki>###</nowiki> H3 | ||
|- | |- | ||
Zeile 25: | Zeile 26: | ||
|1. First | |1. First | ||
2. Second | 2. Second | ||
3. Third | 3. Third | ||
|- | |- | ||
Zeile 30: | Zeile 32: | ||
| - First | | - First | ||
- Second | - Second | ||
- Third | - Third | ||
|- | |- | ||
Zeile 53: | Zeile 56: | ||
|<nowiki>| Syntax | Desc |</nowiki> | |<nowiki>| Syntax | Desc |</nowiki> | ||
<nowiki>| ------------ |</nowiki> ------------ | | <nowiki>| ------------ |</nowiki> ------------ | | ||
<nowiki>| Header |</nowiki> Title | | <nowiki>| Header |</nowiki> Title | | ||
<nowiki>| Paragraph |</nowiki> Text | | <nowiki>| Paragraph |</nowiki> Text | | ||
|- | |- | ||
Zeile 59: | Zeile 64: | ||
|``` | |``` | ||
{ | { | ||
"abc": "def", | "abc": "def", | ||
"xyz": 123 | "xyz": 123 | ||
} | } | ||
``` | ``` | ||
|- | |- | ||
Zeile 127: | Zeile 136: | ||
|Y, via *this* | |Y, via *this* | ||
|Y, via _this_ | |Y, via _this_ | ||
| | |N | ||
|Y, via ~this~ | |Y, via ~this~ | ||
| | |N | ||
| | |N | ||
|Y, via - / * | |Y, via - / * | ||
|Y, but only `inline` | |Y, but only `inline` | ||
Zeile 148: | Zeile 157: | ||
|`Single line` | |`Single line` | ||
```python | ```python | ||
x = 'multiline' | x = 'multiline' | ||
``` | ``` | ||
|Y | |Y |
Aktuelle Version vom 31. Dezember 2024, 16:41 Uhr
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 |  |
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_ | N | Y, via ~this~ | N | N | 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 |