are they related?
I'm using markdown to edit this question right now. In some wikis I used wiki markup. Are they the same thing? Are they related? Please explain. If I want to implement one or the other in a web project (like stackoverflow) what do I need to use?
Mark-up is a term from print editing - the editor would go through the text and add annotations (ie 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.
链接地址: http://www.djcxy.com/p/88820.html上一篇: 有没有像SO网站使用的标准有任何标准?
下一篇: 他们有关系吗?