Markdown Sözdizimi Kılavuzu

Belgelerinizi biçimlendirmek için temel sözdizimi

Genel Bakış

Markdown, düz metin belgelere biçimlendirme eklemek için kullanılan hafif bir işaretleme dilidir. 2004'te John Gruber tarafından oluşturuldu; günümüzde en yaygın işaretleme dillerinden biridir.

Markdown kullanımı WYSIWYG düzenleyiciden farklıdır. Word gibi uygulamalarda butonlara tıklayıp hemen biçimi görürsünüz. Markdown'da metne sözdizimi ekleyerek hangi kelime veya ifadelerin farklı görüneceğini belirtirsiniz.

Başlıklar

Başlık oluşturmak için kelime veya ifadenin önüne # ekleyin. # sayısı başlık düzeyine karşılık gelir (örn. ### Üçüncü düzey).

Markdown sözdizimi
HTML etiketi
Önizleme
# Heading level 1
<h1>Heading level 1</h1>

Heading level 1

## Heading level 2
<h2>Heading level 2</h2>

Heading level 2

### Heading level 3
<h3>Heading level 3</h3>

Heading level 3

#### Heading level 4
<h4>Heading level 4</h4>

Heading level 4

##### Heading level 5
<h5>Heading level 5</h5>
Heading level 5
###### Heading level 6
<h6>Heading level 6</h6>
Heading level 6

Paragraflar

Paragraf oluşturmak için metin satırlarını boş bir satırla ayırın.

Markdown sözdizimi
HTML etiketi
Önizleme
I really like using Markdown.

It lets me write easily.
<p>I really like using Markdown.</p>
<p>It lets me write easily.</p>

I really like using Markdown.

It lets me write easily.

Satır Sonları

Satır sonu veya yeni satır için satırı iki veya daha fazla boşlukla bitirip Enter'a basın.

Markdown sözdizimi
HTML etiketi
Önizleme
This is the first line.
And this is the second line.
<p>This is the first line.<br>
And this is the second line.</p>

This is the first line.
And this is the second line.

Vurgulama

Metni kalın veya italik yaparak vurgu ekleyebilirsiniz.

Kalın

Metni kalın yapmak için kelime veya ifadenin önüne ve arkasına ** veya __ ekleyin.

Markdown sözdizimi
HTML etiketi
Önizleme
I just love **bold text**.
I just love <strong>bold text</strong>.

I just love bold text.

I just love __bold text__.
I just love <strong>bold text</strong>.

I just love bold text.

İtalik

Metni italik yapmak için kelime veya ifadenin önüne ve arkasına * veya _ ekleyin.

Markdown sözdizimi
HTML etiketi
Önizleme
The *cat* meows.
The <em>cat</em> meows.

The cat meows.

The _cat_ meows.
The <em>cat</em> meows.

The cat meows.

Kalın ve İtalik

Metni aynı anda kalın ve italik vurgulamak için kelime veya ifadenin önüne ve arkasına *** veya ___ ekleyin.

Markdown sözdizimi
HTML etiketi
Önizleme
This text is ***really important***.
This text is <strong><em>really important</em></strong>.

This text is really important.

This text is ___really important___.
This text is <strong><em>really important</em></strong>.

This text is really important.

Alıntılar

Alıntı oluşturmak için paragrafın önüne > ekleyin.

Markdown sözdizimi
HTML etiketi
Önizleme
> Dorothy followed her through many of the beautiful rooms in her castle.
<blockquote><p>Dorothy followed her through many of the beautiful rooms in her castle.</p></blockquote>

Dorothy followed her through many of the beautiful rooms in her castle.

İç İçe Alıntılar

Alıntılar iç içe olabilir. İç içe almak istediğiniz paragrafın önüne >> ekleyin.

Markdown sözdizimi
Önizleme
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

Dorothy followed her through many of the beautiful rooms in her castle.

The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

Listeler

Öğeleri sıralı veya sırasız listelere düzenleyebilirsiniz.

Sıralı Listeler

Sıralı liste için her satırı sayı ve nokta ile başlatın. Sayılar sıralı olmak zorunda değil; liste 1 ile başlamalı.

Markdown sözdizimi
HTML etiketi
Önizleme
1. First item
2. Second item
3. Third item
4. Fourth item
<ol>
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
  <li>Fourth item</li>
</ol>
  1. First item
  2. Second item
  3. Third item
  4. Fourth item

Sırasız Listeler

Sırasız liste için satır başına -, * veya + ekleyin.

Markdown sözdizimi
HTML etiketi
Önizleme
- First item
- Second item
- Third item
- Fourth item
<ul>
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
  <li>Fourth item</li>
</ul>
  • First item
  • Second item
  • Third item
  • Fourth item

Kod

Kelime veya ifadeyi kod olarak göstermek için ters tırnak (`) içine alın.

Markdown sözdizimi
HTML etiketi
Önizleme
At the command prompt, type `nano`.
At the command prompt, type <code>nano</code>.

At the command prompt, type nano.

Kod Blokları

Kod bloğu oluşturmak için her satırı en az dört boşluk veya bir sekme ile girintileyin veya bloğun önüne ve arkasına ``` koyun.

Markdown sözdizimi
Önizleme
```
{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}
```
{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}

Yatay Çizgiler

Yatay çizgi için tek başına bir satırda üç veya daha fazla ***, --- veya ___ kullanın.

Markdown sözdizimi
HTML etiketi
Önizleme
***
<hr>

---
<hr>

___
<hr>

Görseller

Görsel eklemek için ! yazın, ardından [alternatif metin], parantez içinde yol veya URL. İsteğe bağlı URL sonrası tırnak içinde başlık ekleyebilirsiniz.

Markdown sözdizimi
HTML
Önizleme
![The San Juan Mountains](https://mdg.imgix.net/assets/images/san-juan-mountains.jpg "San Juan Mountains")
<img src="https://mdg.imgix.net/assets/images/san-juan-mountains.jpg" alt="The San Juan Mountains" title="San Juan Mountains">
The San Juan Mountains

Karakter Kaçırma

Markdown belgesinde metni biçimlendirmek için kullanılan bir karakteri olduğu gibi göstermek için önüne \ ekleyin.

Markdown sözdizimi
Önizleme
\* Without the backslash, this would be a bullet in an unordered list.

* Without the backslash, this would be a bullet in an unordered list.

Kaçırılabilecek Karakterler

Aşağıdaki karakterleri kaçırmak için ters eğik çizgi kullanabilirsiniz:

\backslash
`backtick
*asterisk
_underscore
{ }curly braces
[ ]brackets
( )parentheses
#pound sign
+plus sign
-minus sign (hyphen)
.dot
!exclamation mark
|pipe

Tablolar

Tablo eklemek için her sütun başlığı için --- kullanın, sütunları | ile ayırın. Tablonun iki ucuna da isteğe bağlı | eklenebilir.

Markdown sözdizimi
Önizleme
| Syntax    | Description |
| --------- | ----------- |
| Header    | Title       |
| Paragraph | Text        |
SyntaxDescription
HeaderTitle
ParagraphText

Hizalama

Sütunlardaki metni sola, sağa veya ortaya hizalamak için başlık satırındaki tirelerin soluna, sağına veya her iki yanına iki nokta üst üste (:) ekleyin.

Markdown sözdizimi
Önizleme
| Align Left | Align Center | Align Right |
| :--- | :---: | ---: |
| This | This | This |
| column | column | column |
| will | will | will |
| align | align | align |
| left | center | right |
Sola HizalaOrtalaSağa Hizala
ThisThisThis
columncolumncolumn
willwillwill
alignalignalign
leftcenterright