markdown
Brief Introduction of MarkDown
It is common that we have to write a passage, but so many times
we are in the troubles of nice arrangement of style.MarkDown is a way to solve the problem, what we need is only simple
hints. Let’s begin the study of MarkDown.
General Description
if there is a block element, we need two blanks before and after the
contents.if there is only a inline element, we need just write one by one.
Indent. Indent have meanning of these:
<pre></pre>or child element.if the sign has meaning in md , we have to use
\to eacape.
Block Element
passage
<p></p>
According to general rule we only need two blanks before and after contents.line break
<br />
We can break the line personnally. Just two or more spaces at the end of linehorizontal tags
<hr />
we put three or more signs as----- or _____, but we need blanksblockquote
<blockquote></blockquote>
we need> or >>according structure. For example:> This is demo of blockquote > >> This is block inside the outer blockquote > >1. item1 > > * unordered listheader
<h1> <h2> <h3> <h4> <h5> <h6>
we need#for<h1>and similar for the others.ordered list
<ol>
we usejust number. if we do need a number like12. 32, we need\
to escape like12\. 32.unorder list
<ul>
we can use+ or - or *;code block
<pre></pre>
Indent every line of the block by at least 4 spaces or 1 tab.fenced code block
As I use in the article, just use``content`` or ```content```table
<table></table>|name |age |address| |:---:|:---:| :---: | // : means way of alignment |lee | 25 | Wuhan |
Inline Elements
ordinary link
<a></a>
we use like this[link text](url 'optional title')or[link text][id] [id]: url "optional text"image link ‘
‘
Same as orinary link except we use!linkjust url
we just use as<http://mzlee.site>or<mailto: nucliliangmin@163.com>emphysis
<em></em>or strong<strong></strong>
one*content*means<em>content</em>, two means the last.strikethrough
<del></del>
we use~~content~~,contnet
html tag
sure, we can use html tags as we usually. There is a problem : MarkDown is useless
when in block elements.