<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>Archstory</title>
 <link href="http://archstory.github.io/atom.xml" rel="self"/>
 <link href="http://archstory.github.io"/>
 <updated>2015-04-13T09:34:55+00:00</updated>
 <author>
   <name>archstory</name>
   <email>daniel900421@icloud.com</email>
 </author>

 
 <entry>
   <title>[转]MarkDown语法</title>
   <link href="http://archstory.github.io/%E8%BD%AC%E8%BD%BD/markdown_grammar.html"/>
   <updated>2015-04-11T00:00:00+00:00</updated>
   <id>/%E8%BD%AC%E8%BD%BD/markdown_grammar</id>
   <content type="html">&lt;h3 id=&quot;什么是markdown&quot;&gt;什么是Markdown&lt;/h3&gt;

&lt;p&gt;Markdown是一个将文本转化为HTML的工具。简单来说，Markdown是一个兼顾可读性与易用性的轻量级标记体系。Markdown并不追求大而全，它只关心HTML里最常用的几个标记，对于一些不常用的标记它允许直接将HTML标记插入文本。   &lt;/p&gt;

&lt;hr&gt;

&lt;h2 id=&quot;目录&quot;&gt;&lt;a name=&quot;index&quot;&gt;&lt;/a&gt;目录&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#title&quot;&gt;标题&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#huanhang&quot;&gt;换行&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#yinyong&quot;&gt;引用&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#liebiao&quot;&gt;列表&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#daima&quot;&gt;代码区域&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#qiangdiao&quot;&gt;强调&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#lianjie&quot;&gt;链接&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#tupian&quot;&gt;图片&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#qita&quot;&gt;其他&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#fuxuankuang&quot;&gt;复选框列表&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#gaoliang&quot;&gt;代码高亮&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#biaoge1&quot;&gt;显示表格&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#biaoqing&quot;&gt;添加表情&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#jieyu&quot;&gt;结语&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;title&quot;&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;h2 id=&quot;标题&quot;&gt;标题&lt;/h2&gt;

&lt;p&gt;Markdown提供了两种方式（Setext和Atx）来显示标题。&lt;/p&gt;

&lt;h4 id=&quot;语法：&quot;&gt;语法：&lt;/h4&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;Setext方式
标题1
=================

标题2
-----------------

Atx方式
# 标题1
## 标题2
###### 标题6
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&quot;效果：&quot;&gt;效果：&lt;/h4&gt;

&lt;p&gt;Setext方式   &lt;/p&gt;

&lt;h1 id=&quot;标题1&quot;&gt;标题1&lt;/h1&gt;

&lt;h2 id=&quot;标题2&quot;&gt;标题2&lt;/h2&gt;

&lt;p&gt;Atx方式   &lt;/p&gt;

&lt;h1 id=&quot;标题1&quot;&gt;标题1&lt;/h1&gt;

&lt;h2 id=&quot;标题2&quot;&gt;标题2&lt;/h2&gt;

&lt;h6 id=&quot;标题6&quot;&gt;标题6&lt;/h6&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;huanhang&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;换行&quot;&gt;换行&lt;/h2&gt;

&lt;p&gt;在文字的末尾使用两个或两个以上的空格来表示换行。&lt;br&gt;
&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;yinyong&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;引用&quot;&gt;引用&lt;/h2&gt;

&lt;p&gt;行首使用&lt;code&gt;&amp;gt;&lt;/code&gt;加上一个空格表示引用段落，内部可以嵌套多个引用。   &lt;/p&gt;

&lt;h4 id=&quot;语法：&quot;&gt;语法：&lt;/h4&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;&amp;gt; 这是一个引用，
&amp;gt; 这里木有换行，   
&amp;gt; 在这里换行了。
&amp;gt; &amp;gt; 内部嵌套
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&quot;效果：&quot;&gt;效果：&lt;/h4&gt;

&lt;blockquote&gt;
&lt;p&gt;这是一个引用，
这里木有换行，&lt;br&gt;
在这里换行了。&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;内部嵌套  &lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;liebiao&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;列表&quot;&gt;列表&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;无序列表&lt;/strong&gt;使用&lt;code&gt;*&lt;/code&gt;、&lt;code&gt;+&lt;/code&gt;或&lt;code&gt;-&lt;/code&gt;后面加上空格来表示。  &lt;/p&gt;

&lt;h4 id=&quot;语法：&quot;&gt;语法：&lt;/h4&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;* Item 1
* Item 2
* Item 3

+ Item 1
+ Item 2
+ Item 3

- Item 1
- Item 2
- Item 3
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&quot;效果：&quot;&gt;效果：&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Item 1&lt;/li&gt;
&lt;li&gt;Item 2&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Item 3&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Item 1&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Item 2&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Item 3&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Item 1  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Item 2&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Item 3&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;有序列表&lt;/strong&gt;使用数字加英文句号加空格表示。   &lt;/p&gt;

&lt;h4 id=&quot;语法：&quot;&gt;语法：&lt;/h4&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;1. Item 1
2. Item 2
3. Item 3
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&quot;效果：&quot;&gt;效果：&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Item 1&lt;/li&gt;
&lt;li&gt;Item 2&lt;/li&gt;
&lt;li&gt;Item 3&lt;br&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;daima&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;代码区域&quot;&gt;代码区域&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;行内代码&lt;/strong&gt;使用&lt;strong&gt;反斜杠&lt;/strong&gt;&lt;code&gt;`&lt;/code&gt;表示。&lt;br&gt;
&lt;strong&gt;代码段落&lt;/strong&gt;则是在每行文字前加4个空格或者1个缩进符表示。&lt;/p&gt;

&lt;h4 id=&quot;语法：&quot;&gt;语法：&lt;/h4&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;Bash中可以使用echo来进行输出。
    $ echo &amp;#39;Something&amp;#39;
    $ echo -e &amp;#39;\tSomething\n&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&quot;效果：&quot;&gt;效果：&lt;/h4&gt;

&lt;p&gt;Bash中可以使用echo来进行输出。&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;$ echo &amp;#39;Something&amp;#39;
$ echo -e &amp;#39;\tSomething\n&amp;#39;  
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;qiangdiao&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;强调&quot;&gt;强调&lt;/h2&gt;

&lt;p&gt;Markdown使用&lt;code&gt;\*&lt;/code&gt;或&lt;code&gt;\_&lt;/code&gt;表示强调。&lt;/p&gt;

&lt;h4 id=&quot;语法：&quot;&gt;语法：&lt;/h4&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;单星号 = *斜体*
单下划线 = _斜体_
双星号 = **加粗**
双下划线 = __加粗__
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&quot;效果：&quot;&gt;效果：&lt;/h4&gt;

&lt;p&gt;单星号 = &lt;em&gt;斜体&lt;/em&gt;&lt;br&gt;
单下划线 = &lt;u&gt;斜体&lt;/u&gt;&lt;br&gt;
双星号 = &lt;strong&gt;加粗&lt;/strong&gt;&lt;br&gt;
双下划线 = &lt;strong&gt;加粗&lt;/strong&gt;   &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;lianjie&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;链接&quot;&gt;链接&lt;/h2&gt;

&lt;p&gt;Markdown支持两种风格的链接：&lt;em&gt;Inline&lt;/em&gt;和&lt;em&gt;Reference&lt;/em&gt;。 &lt;/p&gt;

&lt;h4 id=&quot;语法：&quot;&gt;语法：&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;Inline&lt;/em&gt;：以中括号标记显示的链接文本，后面紧跟用小括号包围的链接。如果链接有title属性，则在链接中使用&lt;strong&gt;空格&lt;/strong&gt;加&lt;strong&gt;&amp;quot;title属性&amp;quot;&lt;/strong&gt;。&lt;br&gt;
&lt;em&gt;Reference&lt;/em&gt;：一般应用于多个不同位置使用相同链接。通常分为两个部分，调用部分为&lt;code&gt;[链接文本][ref]&lt;/code&gt;；定义部分可以出现在文本中的其他位置，格式为&lt;code&gt;[ref]: http://some/link/address (可选的标题)&lt;/code&gt;。&lt;br&gt;
&lt;em&gt;注：ref中不区分大小写。&lt;/em&gt;   &lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;这是一个Inline[示例](http://equation85.github.com &amp;quot;可选的title&amp;quot;)。
这是一个Reference[示例][ref]。
[ref]: http://equation85.github.com
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&quot;效果：&quot;&gt;效果：&lt;/h4&gt;

&lt;p&gt;这是一个&lt;em&gt;Inline&lt;/em&gt;&lt;a href=&quot;http://equation85.github.com&quot; title=&quot;可选的title&quot;&gt;示例&lt;/a&gt;。&lt;br&gt;
这是一个&lt;em&gt;Reference&lt;/em&gt;&lt;a href=&quot;http://equation85.github.com&quot;&gt;示例&lt;/a&gt;。&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;tupian&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;图片&quot;&gt;图片&lt;/h2&gt;

&lt;p&gt;图片的使用方法基本上和链接类似，只是在中括号前加&lt;strong&gt;叹号&lt;/strong&gt;。&lt;br&gt;
&lt;em&gt;注：Markdown不能设置图片大小，如果必须设置则应使用HTML标记&amp;lt;img&amp;gt;。&lt;/em&gt;   &lt;/p&gt;

&lt;h4 id=&quot;语法：&quot;&gt;语法：&lt;/h4&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;Inline示例：![替代文本](/images/markdown_grammar/hb.jpg &amp;quot;hb.jpg&amp;quot;)
Reference示例：![替代文本][pic]
[pic]: /images/markdown_grammar/hb.jpg &amp;quot;hb.jpg&amp;quot;
HTML示例：&amp;lt;img src=&amp;quot;/images/markdown_grammar/xsjfyzs.jpg&amp;quot; alt=&amp;quot;替代文本&amp;quot; title=&amp;quot;xsjfyzs.jpg&amp;quot; width=&amp;quot;750&amp;quot; /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&quot;效果：&quot;&gt;效果：&lt;/h4&gt;

&lt;p&gt;Inline示例:&lt;br&gt;
&lt;img src=&quot;/images/markdown_grammar/hb.jpg&quot; alt=&quot;替代文本&quot; title=&quot;hb.jpg&quot;&gt;&lt;br&gt;
Reference示例:&lt;br&gt;
&lt;img src=&quot;/images/markdown_grammar/hb.jpg&quot; alt=&quot;替代文本&quot; title=&quot;hb.jpg&quot;&gt;  &lt;/p&gt;

&lt;p&gt;HTML示例：&lt;br&gt;
&lt;img src=&quot;/images/markdown_grammar/xsjfyzs.jpg&quot; alt=&quot;替代文本&quot; title=&quot;xsjfyzs.jpg&quot; width=&quot;750&quot; /&gt;   &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;qita&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;其他&quot;&gt;其他&lt;/h2&gt;

&lt;h4 id=&quot;自动链接&quot;&gt;自动链接&lt;/h4&gt;

&lt;p&gt;使用&lt;strong&gt;尖括号&lt;/strong&gt;，可以为输入的URL或者邮箱自动创建链接。如&lt;a href=&quot;mailto:test@domain.com&quot;&gt;test@domain.com&lt;/a&gt;。&lt;/p&gt;

&lt;h4 id=&quot;分隔线&quot;&gt;分隔线&lt;/h4&gt;

&lt;p&gt;在一行中使用三个或三个以上的&lt;code&gt;*&lt;/code&gt;、&lt;code&gt;-&lt;/code&gt;或&lt;code&gt;_&lt;/code&gt;可以添加分隔线，其中可以有空白，但是不能有其他字符。&lt;/p&gt;

&lt;h4 id=&quot;转义字符&quot;&gt;转义字符&lt;/h4&gt;

&lt;p&gt;Markdown中的转义字符为&lt;code&gt;\&lt;/code&gt;，可以转义的有：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;\\ 反斜杠&lt;/li&gt;
&lt;li&gt;\` 反引号&lt;/li&gt;
&lt;li&gt;\* 星号&lt;/li&gt;
&lt;li&gt;\_ 下划线&lt;/li&gt;
&lt;li&gt;\{\} 大括号&lt;/li&gt;
&lt;li&gt;\[\] 中括号&lt;/li&gt;
&lt;li&gt;\(\) 小括号&lt;/li&gt;
&lt;li&gt;\# 井号&lt;/li&gt;
&lt;li&gt;\+ 加号&lt;/li&gt;
&lt;li&gt;\- 减号&lt;/li&gt;
&lt;li&gt;\. 英文句号&lt;/li&gt;
&lt;li&gt;\! 感叹号&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;fuxuankuang&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3 id=&quot;复选框列表&quot;&gt;复选框列表&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;[x] C&lt;/li&gt;
&lt;li&gt;[x] C++&lt;/li&gt;
&lt;li&gt;[x] Java&lt;/li&gt;
&lt;li&gt;[x] Qt&lt;/li&gt;
&lt;li&gt;[x] Android&lt;/li&gt;
&lt;li&gt;[ ] C#&lt;/li&gt;
&lt;li&gt;[ ] .NET&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;gaoliang&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;代码高亮&quot;&gt;代码高亮&lt;/h2&gt;

&lt;h4 id=&quot;使用pygment_trac.css&quot;&gt;使用pygment_trac.css&lt;/h4&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-Java&quot; data-lang=&quot;Java&quot;&gt;&lt;span class=&quot;kd&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;args&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;){}&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;//Java&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-c&quot; data-lang=&quot;c&quot;&gt;&lt;span class=&quot;kt&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;argc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;char&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;argv&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[])&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;//C&lt;/span&gt;
&lt;span class=&quot;cp&quot;&gt;#define asd &amp;quot;1asd&amp;quot;&lt;/span&gt;
&lt;span class=&quot;cp&quot;&gt;#define&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;typedef&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;struct&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;_ID_INFO&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;kt&quot;&gt;unsigned&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;char&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kt&quot;&gt;unsigned&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;long&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;step_cnt&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;CarInfo&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;COMMAND&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;sc&quot;&gt;&amp;#39;1&amp;#39;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; 
&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;asd&lt;/span&gt; &lt;span class=&quot;cm&quot;&gt;/*sd@#$ASfdASf*/&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;step_count&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;10000&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;unsigned&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;char&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;buf&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;Hello, World! &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\n&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-Bash&quot; data-lang=&quot;Bash&quot;&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;hello GitHub&amp;quot;&lt;/span&gt;&lt;span class=&quot;c&quot;&gt;#Bash    //bash&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-javascript&quot; data-lang=&quot;javascript&quot;&gt;&lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getElementById&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;myH1&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;innerHTML&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;Welcome to my Homepage&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;//javascipt&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-cpp&quot; data-lang=&quot;cpp&quot;&gt;&lt;span class=&quot;n&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;operator&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;B&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;//cpp&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-java&quot; data-lang=&quot;java&quot;&gt;&lt;span class=&quot;kd&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;startThreadUseSubClass&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;      &lt;span class=&quot;c1&quot;&gt;//java&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;MyThread&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;extends&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Thread&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;kd&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;run&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;n&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;out&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;println&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;start thread using Subclass of Thread&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;
        &lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;MyThread&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;thread&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;MyThread&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;thread&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;biaoge1&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;显示表格&quot;&gt;显示表格&lt;/h2&gt;

&lt;table&gt;&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;表头1&lt;/th&gt;
&lt;th&gt;表头2&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Content Cell&lt;/td&gt;
&lt;td&gt;Content Cell&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Content Cell&lt;/td&gt;
&lt;td&gt;Content Cell&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;table&gt;&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;表头1&lt;/th&gt;
&lt;th&gt;表头2&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Content Cell&lt;/td&gt;
&lt;td&gt;Content Cell&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Content Cell&lt;/td&gt;
&lt;td&gt;Content Cell&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;table&gt;&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;名字&lt;/th&gt;
&lt;th&gt;描述&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Help&lt;/td&gt;
&lt;td&gt;Display the help window.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Close&lt;/td&gt;
&lt;td&gt;Closes a window&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;表格中也可以使用普通文本的删除线，斜体等效果&lt;/p&gt;

&lt;table&gt;&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;名字&lt;/th&gt;
&lt;th&gt;描述&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Help&lt;/td&gt;
&lt;td&gt;&lt;del&gt;Display the&lt;/del&gt; help window.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Close&lt;/td&gt;
&lt;td&gt;&lt;u&gt;Closes&lt;/u&gt; a window&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;表格可以指定对齐方式&lt;/p&gt;

&lt;table&gt;&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&quot;text-align: left&quot;&gt;左对齐&lt;/th&gt;
&lt;th style=&quot;text-align: center&quot;&gt;居中&lt;/th&gt;
&lt;th style=&quot;text-align: right&quot;&gt;右对齐&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align: left&quot;&gt;col 3 is&lt;/td&gt;
&lt;td style=&quot;text-align: center&quot;&gt;some wordy text&lt;/td&gt;
&lt;td style=&quot;text-align: right&quot;&gt;$1600&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align: left&quot;&gt;col 2 is&lt;/td&gt;
&lt;td style=&quot;text-align: center&quot;&gt;centered&lt;/td&gt;
&lt;td style=&quot;text-align: right&quot;&gt;$12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align: left&quot;&gt;zebra stripes&lt;/td&gt;
&lt;td style=&quot;text-align: center&quot;&gt;are neat&lt;/td&gt;
&lt;td style=&quot;text-align: right&quot;&gt;$1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;biaoqing&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;添加表情&quot;&gt;&lt;a name=&quot;emoji&quot;&gt;&lt;/a&gt;添加表情&lt;/h2&gt;

&lt;p&gt;Github的Markdown语法支持添加emoji表情，输入不同的符号码（两个冒号包围的字符）可以显示出不同的表情。&lt;/p&gt;

&lt;p&gt;比如&lt;code&gt;:blush:&lt;/code&gt;，可以显示:blush:。&lt;/p&gt;

&lt;p&gt;具体每一个表情的符号码，可以查询GitHub的官方网页&lt;a href=&quot;http://www.emoji-cheat-sheet.com&quot;&gt;http://www.emoji-cheat-sheet.com&lt;/a&gt;。&lt;/p&gt;

&lt;p&gt;但是这个网页每次都打开&lt;strong&gt;奇慢&lt;/strong&gt;。。所以我整理到了本repo中，大家可以直接在此查看&lt;a href=&quot;./emoji.md&quot;&gt;emoji&lt;/a&gt;。&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#index&quot;&gt;回到目录&lt;/a&gt;  &lt;/p&gt;

&lt;h2 id=&quot;使用mathjax引擎&quot;&gt;使用MathJax引擎&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;然后，再使用Tex写公式。$$公式$$表示行间公式，本来Tex中使用\(公式\)表示行内公式，但因为Markdown中\是转义字符，所以在Markdown中输入行内公式使用\\(公式\\)，如下代码：&lt;/code&gt;  &lt;/p&gt;

&lt;p&gt;&lt;code&gt;$$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$&lt;/code&gt;&lt;br&gt;
&lt;code&gt;\\(x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\\)&lt;/code&gt;&lt;br&gt;
&lt;code&gt;$$x=a+b^c$$&lt;/code&gt;&lt;br&gt;
&lt;code&gt;\\(x=a+b^c\\)&lt;/code&gt;  &lt;/p&gt;

&lt;p&gt;$$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$&lt;/p&gt;

&lt;p&gt;\(x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\)&lt;/p&gt;

&lt;p&gt;$$x=a+b^c$$&lt;/p&gt;

&lt;p&gt;\(x=a+b^c\)&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;a name=&quot;jieyu&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;结语&quot;&gt;结语&lt;/h2&gt;

&lt;p&gt;Markdown语法很大程度上减少了编辑的成本，但是在写作这篇文章的时候也发现某些标记对中文的支持似乎并不完美，虽然这些缺陷可以通过直接插入HTML代码解决（但这么做一点都不漂亮）。总的来说，能够在离线状态下使用命令行模式进行写作还是很爽的，相比在线写作模式精力可以更专注。   &lt;/p&gt;

&lt;blockquote&gt;
&lt;h2 id=&quot;部分转自：-https://equation85.github.com&quot;&gt;部分转自： &lt;a href=&quot;https://equation85.github.com&quot; title=&quot;equation85&quot;&gt;https://equation85.github.com&lt;/a&gt;&lt;/h2&gt;
&lt;/blockquote&gt;
</content>
 </entry>
 
 <entry>
   <title>Richmond housing  cooperative</title>
   <link href="http://archstory.github.io/Richmond%20Housing%20%20Cooperative.html"/>
   <updated>2015-04-11T00:00:00+00:00</updated>
   <id>/Richmond Housing  Cooperative</id>
   <content type="html">&lt;h3 id=&quot;60-richmond-housing-cooperative/teeple-architects-toronto-canada&quot;&gt;60 Richmond Housing Cooperative/Teeple Architects Toronto Canada&lt;/h3&gt;

&lt;hr&gt;

&lt;h2 id=&quot;目录&quot;&gt;&lt;a name=&quot;index&quot;&gt;&lt;/a&gt;目录&lt;/h2&gt;

&lt;p&gt;Architects: Teeple Architects&lt;br&gt;
Location: Toronto, Canada&lt;br&gt;
Principal in Charge: Stephen Teeple&lt;br&gt;
Project Manager: Chris Radigan&lt;br&gt;
Project Architects: Richard Lai (OAA), William Elsworthy&lt;br&gt;
Structural Engineer: CPE Structural Consultants Limited&lt;br&gt;
Mechanical Engineer: Jain &amp;amp; Associates&lt;br&gt;
Electrical Engineer: Jain &amp;amp; Associates&lt;br&gt;
Shoring Engineer: Tarra Engineering Inc.&lt;br&gt;
Geo-Environmental Engineer: Toronto Inspection Ltd.&lt;br&gt;
LEED Consultant: Enermodal Engineering Ltd.&lt;br&gt;
Landscape: NAK Design Group&lt;br&gt;
Acoustical Consultant: Aercoustics Engineering Ltd.&lt;br&gt;
Food Service &amp;amp; Waste: Cini-Little International Inc.&lt;br&gt;
Specification: DGS Consulting Services&lt;br&gt;
Project Area: 99,565 sq ft&lt;br&gt;
Budget: 20.4M&lt;br&gt;
Project Year: 2010&lt;br&gt;
Photographs: Shai Gil Photography     &lt;/p&gt;
</content>
 </entry>
 
 
</feed>