Markdown: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
Thomas (Diskussion | Beiträge) K Updated WhatsApp unsupported markdown elements |
||
Zeile 136: | 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` |
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 |