Oficiali specifikacija
Šiame apgaučių lape laikomasi GitHub Flavored Markdown (GFM) – GitHub naudojamo dialekto – ir išlaikomas suderinamumas su CommonMark branduoliu. Visa gramatika pateikta oficialiose specifikacijose:
Antraštės
Naudokite # ženklus antraštėms kurti. Vienas # yra didžiausia, šeši — mažiausia.
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6Teksto formatavimas
Pusjuodis, kursyvas, perbraukimas ir eilutinis kodas.
**Bold text**
*Italic text*
***Bold and italic***
~~Strikethrough text~~
`Inline code`Bold text
Italic text
Bold and italic
Strikethrough text
Inline code
Nuorodos
Kurkite hipersaitus su eilutine arba nuorodos sintakse.
[OpenAI](https://openai.com)
[Link with title](https://example.com "Optional title")
<https://automatic-link.com>Vaizdai
Įterpkite vaizdus su alternatyviuoju tekstu.

Kodas
Kaip žymėti kodą Markdown žymėjime: eilutinis kodas su atgaliniais kabliukais ir kodo blokai su trimis atgaliniais kabliukais.
Here is some `inline code` in a sentence.
```javascript
function hello(name) {
console.log(`Hello, ${name}!`);
}
```
```python
def greet(name):
return f"Hello, {name}!"
```Here is some inline code in a sentence.
function hello(name) {
console.log(`Hello, ${name}!`);
}
def greet(name):
return f"Hello, {name}!"
Sąrašai
Numeruoti, nenumeruoti ir užduočių sąrašai.
### Unordered list
- Item one
- Item two
- Nested item
- Another nested
- Item three
### Ordered list
1. First step
2. Second step
1. Sub-step A
2. Sub-step B
3. Third step
### Task list
- [x] Completed task
- [ ] Pending task
- [ ] Another task- Item one
- Item two
- Nested item
- Another nested
- Item three
- First step
- Second step
- Sub-step A
- Sub-step B
- Third step
- Completed task
- Pending task
- Another task
Lentelės
Kurkite lenteles su vertikaliomis linijomis ir brūkšneliais.
| Feature | Status | Notes |
| --- | --- | --- |
| Tables | ✅ | Pipe and dash syntax |
| Alignment | ✅ | :--, :--:, --: |
| Cell content | ✅ | Text, links, inline code |
| Left | Center | Right |
| :--- | :---: | ---: |
| Left-aligned | Centered | Right-aligned |
| 1 | 2 | 3 || Feature | Status | Notes |
|---|---|---|
| Tables | ✅ | Pipe and dash syntax |
| Alignment | ✅ | :--, :--:, --: |
| Cell content | ✅ | Text, links, inline code |
| Left | Center | Right |
|---|---|---|
| Left-aligned | Centered | Right-aligned |
| 1 | 2 | 3 |
Citatos
Cituokite teksto blokus su ženklu >.
> This is a blockquote.
> It can span multiple lines.
>
> ## Heading inside a quote
> - Lists work too
> **Nested quotes:**
> > Deeply nested quote
> > > Even deeperThis is a blockquote. It can span multiple lines.
Heading inside a quote
- Lists work too
Nested quotes:
Deeply nested quote
Even deeper
Horizontalios linijos
Pridėkite horizontalią liniją su trimis ar daugiau brūkšnelių, žvaigždučių ar pabraukimų.
Text above
---
***
___
Text belowText above
Text below
Perbraukimas
Perbraukite tekstą dvigubomis tildėmis.
Forumuose perbraukimui dažnai naudojama [s]...[/s] (taip pat [b], [i]) – tai BBCode, o ne Markdown. Markdown kalboje tas pats efektas rašomas taip: ~~text~~
This is ~~deleted text~~ still visible.
~~Entire paragraph that has been struck through for review purposes.~~
Mix of ~~strikethrough~~ and normal text.This is deleted text still visible.
Entire paragraph that has been struck through for review purposes.
Mix of strikethrough and normal text.
