REFERENSI CEPAT MARKDOWN
Heading, link, gambar, blok kode, tabel
Heading
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Penekanan
Tebal & Miring
| *italic* or _italic_ | Teks miring |
| **bold** or __bold__ | Teks tebal |
| ***bold italic*** | Tebal dan miring |
| ~~strikethrough~~ | Dicoret (GFM) |
Daftar
Daftar Tidak Berurutan
- Item one
- Item two
- Nested item
- Another nested
- Item three
Daftar Berurutan
1. First item
2. Second item
1. Nested ordered
2. Another nested
3. Third item
Tautan & Gambar
| [text](url) | Tautan inline |
| [text](url "title") | Tautan dengan judul hover |
| [ref][id] / [id]: url | Tautan gaya referensi |
| <https://example.com> | Autolink |
|  | Gambar |
|  | Gambar dengan judul |
| [](url) | Gambar bertautan |
Kode
Inline & Blok Berpagar
Use `inline code` in a sentence.
```python
def greet(name):
return f"Hello, {name}!"
```
```javascript
const greet = (name) => `Hello, ${name}!`;
```
Tentukan bahasa setelah ``` untuk sintaks highlighting
Blok Kode Indentasi
Indent 4 spaces
for a code block
(no syntax highlighting)
Kutipan Blok
> This is a blockquote.
>
> It can span multiple paragraphs.
> Nested blockquotes:
>> Second level
>>> Third level
Tabel (GFM)
| Left | Center | Right |
|--------|:-------:|-------:|
| cell 1 | cell 2 | cell 3 |
| cell 4 | cell 5 | cell 6 |
: mengontrol perataan -- kiri (default), tengah, kanan
Daftar Tugas (GFM)
- [x] Completed task
- [ ] Incomplete task
- [ ] Another to-do
Garis Horizontal
---
***
___
Tiga atau lebih tanda hubung, asterisk, atau garis bawah
Escape
Escape Backslash
\*not italic\*
\# not a heading
\[not a link\]
Karakter yang Bisa Di-escape
| \ ` * _ | Backslash, backtick, asterisk, garis bawah |
| {} [] () | Kurung kurawal, siku, biasa |
| # + - . | Pagar, plus, tanda hubung, titik |
| ! | | Tanda seru, pipa |