Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Markdown vs markup - are they related?

People also ask

Is markdown a markup language?

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. Created by John Gruber in 2004, Markdown is now one of the world's most popular markup languages.

Is markdown still relevant?

Markdown is gaining popularity among writers, developers, and content creators due to its versatility. It is a free markup language you can use to format plain text and generate different outputs. It implies that you do not have to invest in expensive software anymore to create and publish diverse content.

Is HTML markup or markdown?

HTML is basically the web's standard mark-up language, but it's rather verbose. Markdown is a specific markup language, having its own simple syntax. Both of these will work in your stackoverflow posts. Markdown can't do everything HTML can, but both are mark-up languages.


  • Markup is a generic term for a language that describes a document's formatting
  • Markdown is a specific markup library: http://daringfireball.net/projects/markdown/
    These days the term is more commonly used to refer to markup languages that mimic the style of the library. See: https://en.wikipedia.org/wiki/Markdown

Mark-up is a term from print editing - the editor would go through the text and add annotations (i.e. this in italic, that in bold) for the printers to use when producing the final version. This was called marking up the text.

A computer mark-up language is just a standardised short-hand for these sorts of annotations.

HTML is basically the web's standard mark-up language, but it's rather verbose.

A list in HTML:

<ul>
    <li>Item one</li>
    <li>Item two</li>
</ul>

Markdown is a specific markup language, having its own simple syntax.

A list in Markdown:

* Item one
* Item two

Both of these will work in your stackoverflow posts.

Markdown can't do everything HTML can, but both are mark-up languages.


Markdown is a play on words because it is markup. "Markdown" is a proper noun.

Markup is just a way of providing functionality above plain text. For example: formatting, links, images, etc.


Markup is a general term for content formatting - such as HTML - but markdown is a library that generates HTML markup. Take a look at Markdown.


Markdown and the markup used in Mediawiki (the wiki software that powers Wikipedia) is not the same.

They're related in the sense that both are less verbose ways of entering html (with some added features), but I doubt that they are related to each other in any other sense.

If you want to implement Markdown on your site just Google Markdown + your favourite platform/language and you'll likely to find a library that does it for you.

If you want to implement Mediawiki's markup you probably need to look round for better ones (like Markdown).