مارک‌داون

از ویکی‌پدیا، دانشنامهٔ آزاد
مارک‌داون
پسوند(های) نام پرونده
‎.md، .markdown[۱]
شناسانه نوع یکسان
net.daringfireball.markdown
توسعه‌دهندهجان گروبر
ارائهٔ اولیه۲۵ مارس ۲۰۰۴؛ ۲۰ سال پیش (۲۰۰۴-25}})[۲]
آخرین ویرایش
1.0.1
(۱۷ دسامبر ۲۰۰۴؛ ۱۹ سال پیش (۲۰۰۴-17}})[۳])
گونهزبان نشانه‌گذاری
قالب آزاد؟بله[۴]
وبگاه

مارک‌داون (به انگلیسی: Markdown) عنوان یک زبان قالب‌بندی متن و نیز یک ابزار تبدیل متن به اچ‌تی‌ام‌ال است که اجازه می‌دهد کاربران متن را به صورت ساده وارد کنند و سپس به صورت خودکار آن را به متن غنی تبدیل نمایند.[۵]

مثال[ویرایش]

مارک داون متناظر HTML خروجی مرورگر
Heading
=======

## Sub-heading

Paragraphs are separated
by a blank line.

Two spaces at the end of a line  
produces a line break.

Text attributes _italic_, 
**bold**, `monospace`.

قانون افقی:

---

لیست گلوله:

  * apples
  * oranges
  * pears

لیست شماره گذاری شده:

  1. lather
  2. rinse
  3. repeat

An [example](http://example.com).

![Image](Icon-pictures.png "icon")

> Markdown uses email-style > characters for blockquoting.

Inline <abbr title="Hypertext Markup Language">HTML</abbr> is supported.
<h1>Heading</h1>

<h2>Sub-heading</h2>

<p>Paragraphs are separated
by a blank line.</p>

<p>Two spaces at the end of a line<br />
produces a line break.</p>

<p>Text attributes <em>italic</em>, 
<strong>bold</strong>, <code>monospace</code>.</p>

<p>قانون افقی:</p>

<hr />

<p>لیست گلوله:</p>

<ul>
<li>apples</li>
<li>oranges</li>
<li>pears</li>
</ul>

<p>لیست شماره گذاری شده:</p>

<ol>
<li>lather</li>
<li>rinse</li>
<li>repeat</li>
</ol>

<p>An <a href="http://example.com">example</a>.</p>

<p><img alt="Image" title="icon" src="Icon-pictures.png" /></p>

<blockquote>
<p>Markdown uses email-style &gt; characters for blockquoting.</p>
</blockquote>

<p>Inline <abbr title="Hypertext Markup Language">HTML</abbr> is supported.</p>
Heading
Sub-heading

Paragraphs are separated by a blank line.

Two spaces at the end of a line
produces a line break.

Text attributes italic, bold, monospace.

قانون افقی:


لیست گلوله:

  • apples
  • oranges
  • pears

لیست شماره گذاری شده:

  1. lather
  2. rinse
  3. repeat

An example.

Image

Markdown uses email-style > characters for blockquoting.

Inline HTML is supported.

جستارهای وابسته[ویرایش]

منابع[ویرایش]

  1. Daring Fireball Statement by creator John Gruber (ارجاع دست دوم از ویکی انگلیسی)
  2. "Daring Fireball: Markdown". Web.archive.org. Archived from the original on 2 April 2004. Retrieved April 25, 2014.{{cite web}}: نگهداری یادکرد:ربات:وضعیت نامعلوم پیوند اصلی (link) (ارجاع دست دوم از ویکی انگلیسی)
  3. Markdown 1.0.1 readme source code "Daring Fireball – Markdown". 17 Dec 2004. (ارجاع دست دوم از ویکی انگلیسی)
  4. "Markdown: License". Daring Fireball. Retrieved April 25, 2014. (ارجاع دست دوم از ویکی انگلیسی)
  5. Gruber, John (2004-12-17). "Daring Fireball: Markdown". Daring Fireball (به انگلیسی). Retrieved 2014-11-08.{{cite web}}: نگهداری یادکرد:تاریخ و سال (link)