docwu 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/lib/docwu/post.rb +1 -1
  2. data/lib/docwu/utils.rb +6 -0
  3. data/lib/docwu/version.rb +1 -1
  4. data/lib/docwu/worker.rb +5 -27
  5. data/lib/docwu.rb +34 -5
  6. data/lib/template_files/Gemfile +3 -0
  7. data/lib/template_files/Gemfile.lock +28 -0
  8. data/lib/template_files/README.md +3 -0
  9. data/lib/template_files/_deploy/assets/images/shared/folder/README.txt +1 -0
  10. data/lib/template_files/_deploy/assets/images/shared/folder/text.png +0 -0
  11. data/lib/template_files/_deploy/assets/images/shared/folder/user.png +0 -0
  12. data/lib/template_files/_deploy/assets/images/shared/icons/li-1.gif +0 -0
  13. data/lib/template_files/_deploy/assets/images/shared/icons/li-2.gif +0 -0
  14. data/lib/template_files/_deploy/assets/images/shared/icons/li-3.gif +0 -0
  15. data/lib/template_files/_deploy/assets/javascripts/application.js +0 -0
  16. data/lib/template_files/_deploy/assets/javascripts/document_folder.js +0 -0
  17. data/lib/template_files/_deploy/assets/javascripts/document_post.js +0 -0
  18. data/lib/template_files/_deploy/assets/stylesheets/application.css +215 -0
  19. data/lib/template_files/_deploy/assets/stylesheets/document_folder.css +12 -0
  20. data/lib/template_files/_deploy/assets/stylesheets/document_post.css +103 -0
  21. data/lib/template_files/_deploy/assets/stylesheets/index.css +12 -0
  22. data/lib/template_files/_deploy/document/help/README.html +124 -0
  23. data/lib/template_files/_deploy/document/help/index.html +71 -0
  24. data/lib/template_files/_deploy/document/juices/README.html +67 -0
  25. data/lib/template_files/_deploy/document/juices/index.html +71 -0
  26. data/lib/template_files/_deploy/document/learning/README.html +108 -0
  27. data/lib/template_files/_deploy/document/learning/index.html +166 -0
  28. data/lib/template_files/_deploy/document/learning/markdown/index.html +73 -0
  29. data/lib/template_files/_deploy/document/learning/markdown/lesson_1.html +184 -0
  30. data/lib/template_files/_deploy/document/learning/ruby/1.html +102 -0
  31. data/lib/template_files/_deploy/document/learning/ruby/index.html +73 -0
  32. data/lib/template_files/_deploy/document/learning//345/210/235/345/255/246/350/200/205/346/225/231/347/250/213/index.html +73 -0
  33. data/lib/template_files/_deploy/document/learning//345/210/235/345/255/246/350/200/205/346/225/231/347/250/213/markdown-basic.html +140 -0
  34. data/lib/template_files/_deploy/document/projects/hui800/index.html +63 -0
  35. data/lib/template_files/_deploy/document/projects/passport800/index.html +63 -0
  36. data/lib/template_files/_deploy/document/projects/tuan800/index.html +63 -0
  37. data/lib/template_files/_deploy/document/projects/zhe800/index.html +63 -0
  38. data/lib/template_files/_deploy/index.html +241 -0
  39. data/lib/template_files/assets/images/shared/folder/README.txt +1 -0
  40. data/lib/template_files/assets/images/shared/folder/text.png +0 -0
  41. data/lib/template_files/assets/images/shared/folder/user.png +0 -0
  42. data/lib/template_files/assets/images/shared/icons/li-1.gif +0 -0
  43. data/lib/template_files/assets/images/shared/icons/li-2.gif +0 -0
  44. data/lib/template_files/assets/images/shared/icons/li-3.gif +0 -0
  45. data/lib/template_files/assets/javascripts/application.js +0 -0
  46. data/lib/template_files/assets/javascripts/document_folder.js +0 -0
  47. data/lib/template_files/assets/javascripts/document_post.js +0 -0
  48. data/lib/template_files/assets/stylesheets/application.css +215 -0
  49. data/lib/template_files/assets/stylesheets/document_folder.css +12 -0
  50. data/lib/template_files/assets/stylesheets/document_post.css +103 -0
  51. data/lib/template_files/assets/stylesheets/index.css +12 -0
  52. data/lib/template_files/config.yml +18 -0
  53. data/lib/template_files/doc/help/README.md +34 -0
  54. data/lib/template_files/layouts/folder.mustache +67 -0
  55. data/lib/template_files/layouts/index.mustache +29 -0
  56. data/lib/template_files/layouts/partials/folder/post_outline.mustache +6 -0
  57. data/lib/template_files/layouts/partials/folder/posterity.mustache +49 -0
  58. data/lib/template_files/layouts/partials/shared/copyright.mustache +6 -0
  59. data/lib/template_files/layouts/partials/shared/header.mustache +10 -0
  60. data/lib/template_files/layouts/post.mustache +97 -0
  61. data/lib/template_files/static/_static.html +0 -0
  62. data/lib/template_files/topics/index.markdown +6 -0
  63. metadata +61 -4
@@ -0,0 +1,184 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <title>
6
+ 《Hello Wolrd》 - markdown - 团800 Wiki大全
7
+ </title>
8
+ <script type='text/javascript' src='/assets/javascripts/application.js'></script>
9
+ <script type='text/javascript' src='/assets/javascripts/document_post.js'></script>
10
+ <link href="/assets/stylesheets/application.css" media="all" rel="stylesheet" />
11
+ <link href="/assets/stylesheets/document_post.css" media="all" rel="stylesheet" />
12
+ </head>
13
+ <body>
14
+ <div id='header' class='clearfix'>
15
+ <div class='nav wrapper'>
16
+ <a href='/index.html'>首页</a>
17
+
18
+ <a href='/document/projects/tuan800/index.html' title='团800'>团800</a>
19
+ <a href='/document/projects/zhe800/index.html' title='折800'>折800</a>
20
+ <a href='/document/projects/hui800/index.html' title='惠800'>惠800</a>
21
+ <a href='/document/projects/passport800/index.html' title='团800通行证'>团800通行证</a>
22
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
23
+ <a href='/document/juices/index.html' title='每日果汁'>每日果汁</a>
24
+ <a href='/document/help/index.html' title='帮助'>帮助</a>
25
+ </div>
26
+ </div>
27
+
28
+ <div id='container' class='wrapper clearfix'>
29
+ <div class='path'>
30
+ <a href='/index.html'>首页</a>
31
+
32
+ &gt;
33
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
34
+ &gt;
35
+ <a href='/document/learning/markdown/index.html' title='markdown'>markdown</a>
36
+ </div>
37
+
38
+ <div class='information'>
39
+ <h1>Hello Wolrd</h1>
40
+
41
+ <div class='bar'>
42
+ 时间: 2013-08-29 14:00
43
+
44
+ <span class='bar-authors'>
45
+ 作者:
46
+ <a href='javascript:;'>happy</a>
47
+ <a href='javascript:;'>张三</a>
48
+ </span>
49
+
50
+ </div>
51
+
52
+
53
+
54
+ </div>
55
+
56
+ <div class='container-block clearfix'>
57
+ <!-- container-main begin -->
58
+ <div class='container-main clearfix'>
59
+
60
+ <div class='content'>
61
+ <div class='content-inner content-workmark'>
62
+ <h1>
63
+ <a name="markup-h1-1"></a>Hello World</h1>
64
+
65
+ <h2>
66
+ <a name="markup-h2-2"></a>Reader ME 标题2</h2>
67
+
68
+ <h3>
69
+ <a name="markup-h3-3"></a>Reader ME 标题3</h3>
70
+
71
+ <h4>
72
+ <a name="markup-h4-4"></a>Reader ME 标题4</h4>
73
+
74
+ <h5>
75
+ <a name="markup-h5-5"></a>Reader ME 标题5</h5>
76
+
77
+ <h6>
78
+ <a name="markup-h6-6"></a>Reader ME 标题6</h6>
79
+
80
+ <h1>
81
+ <a name="markup-h1-7"></a>Hello World 标题1</h1>
82
+
83
+ <h2>
84
+ <a name="markup-h2-8"></a>Reader ME 标题2</h2>
85
+
86
+ <h3>
87
+ <a name="markup-h3-9"></a>Reader ME 标题3</h3>
88
+
89
+ <h4>
90
+ <a name="markup-h4-10"></a>Reader ME 标题4</h4>
91
+
92
+ <h5>
93
+ <a name="markup-h5-11"></a>Reader ME 标题5</h5>
94
+
95
+ <h6>
96
+ <a name="markup-h6-12"></a>Reader ME 标题</h6>
97
+
98
+ <h1>
99
+ <a name="markup-h1-13"></a>Hello World 标题1</h1>
100
+
101
+ <h2>
102
+ <a name="markup-h2-14"></a>Reader ME 标题2</h2>
103
+
104
+ <h3>
105
+ <a name="markup-h3-15"></a>Reader ME 标题3</h3>
106
+
107
+ <h4>
108
+ <a name="markup-h4-16"></a>Reader ME 标题4</h4>
109
+
110
+ <h5>
111
+ <a name="markup-h5-17"></a>Reader ME 标题5</h5>
112
+
113
+ <h6>
114
+ <a name="markup-h6-18"></a>Reader ME 标题</h6>
115
+
116
+ <h1>
117
+ <a name="markup-h1-19"></a>Hello World 标题1</h1>
118
+
119
+ <h2>
120
+ <a name="markup-h2-20"></a>Reader ME 标题2</h2>
121
+
122
+ <h3>
123
+ <a name="markup-h3-21"></a>Reader ME 标题3</h3>
124
+
125
+ <h4>
126
+ <a name="markup-h4-22"></a>Reader ME 标题4</h4>
127
+
128
+ <h5>
129
+ <a name="markup-h5-23"></a>Reader ME 标题5</h5>
130
+
131
+ <h6>
132
+ <a name="markup-h6-24"></a>Reader ME 标题</h6>
133
+
134
+ <div class="CodeRay">
135
+ <div class="code"><pre><span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">helloworld</span>
136
+ puts <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Hello World</span><span style="color:#710">"</span></span>
137
+ <span style="color:#080;font-weight:bold">end</span></pre></div>
138
+ </div>
139
+
140
+ </div>
141
+ </div>
142
+
143
+ </div> <!-- container-main end -->
144
+
145
+ <div class='container-side clearfix'>
146
+ <h3>文档目录大纲</h3>
147
+ <dl class='dl-catalogs'>
148
+ <dd class='catalog-link-h1'><a href='#markup-h1-1' title='Hello World'>Hello World</a></dd>
149
+ <dd class='catalog-link-h2'><a href='#markup-h2-2' title='Reader ME 标题2'>Reader ME 标题2</a></dd>
150
+ <dd class='catalog-link-h3'><a href='#markup-h3-3' title='Reader ME 标题3'>Reader ME 标题3</a></dd>
151
+ <dd class='catalog-link-h4'><a href='#markup-h4-4' title='Reader ME 标题4'>Reader ME 标题4</a></dd>
152
+ <dd class='catalog-link-h5'><a href='#markup-h5-5' title='Reader ME 标题5'>Reader ME 标题5</a></dd>
153
+ <dd class='catalog-link-h6'><a href='#markup-h6-6' title='Reader ME 标题6'>Reader ME 标题6</a></dd>
154
+ <dd class='catalog-link-h1'><a href='#markup-h1-7' title='Hello World 标题1'>Hello World 标题1</a></dd>
155
+ <dd class='catalog-link-h2'><a href='#markup-h2-8' title='Reader ME 标题2'>Reader ME 标题2</a></dd>
156
+ <dd class='catalog-link-h3'><a href='#markup-h3-9' title='Reader ME 标题3'>Reader ME 标题3</a></dd>
157
+ <dd class='catalog-link-h4'><a href='#markup-h4-10' title='Reader ME 标题4'>Reader ME 标题4</a></dd>
158
+ <dd class='catalog-link-h5'><a href='#markup-h5-11' title='Reader ME 标题5'>Reader ME 标题5</a></dd>
159
+ <dd class='catalog-link-h6'><a href='#markup-h6-12' title='Reader ME 标题'>Reader ME 标题</a></dd>
160
+ <dd class='catalog-link-h1'><a href='#markup-h1-13' title='Hello World 标题1'>Hello World 标题1</a></dd>
161
+ <dd class='catalog-link-h2'><a href='#markup-h2-14' title='Reader ME 标题2'>Reader ME 标题2</a></dd>
162
+ <dd class='catalog-link-h3'><a href='#markup-h3-15' title='Reader ME 标题3'>Reader ME 标题3</a></dd>
163
+ <dd class='catalog-link-h4'><a href='#markup-h4-16' title='Reader ME 标题4'>Reader ME 标题4</a></dd>
164
+ <dd class='catalog-link-h5'><a href='#markup-h5-17' title='Reader ME 标题5'>Reader ME 标题5</a></dd>
165
+ <dd class='catalog-link-h6'><a href='#markup-h6-18' title='Reader ME 标题'>Reader ME 标题</a></dd>
166
+ <dd class='catalog-link-h1'><a href='#markup-h1-19' title='Hello World 标题1'>Hello World 标题1</a></dd>
167
+ <dd class='catalog-link-h2'><a href='#markup-h2-20' title='Reader ME 标题2'>Reader ME 标题2</a></dd>
168
+ <dd class='catalog-link-h3'><a href='#markup-h3-21' title='Reader ME 标题3'>Reader ME 标题3</a></dd>
169
+ <dd class='catalog-link-h4'><a href='#markup-h4-22' title='Reader ME 标题4'>Reader ME 标题4</a></dd>
170
+ <dd class='catalog-link-h5'><a href='#markup-h5-23' title='Reader ME 标题5'>Reader ME 标题5</a></dd>
171
+ <dd class='catalog-link-h6'><a href='#markup-h6-24' title='Reader ME 标题'>Reader ME 标题</a></dd>
172
+ </dl>
173
+ </div>
174
+ </div>
175
+
176
+ </div>
177
+ <div id='footer'>
178
+ <div class='wrapper'>
179
+ <p>&copy; 2011-2013 团800文档</p>
180
+ <p>滴水石穿,点点积累</p>
181
+ </div>
182
+ </div>
183
+ </body>
184
+ </html>
@@ -0,0 +1,102 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <title>
6
+ 《markdown基础教程》 - ruby - 团800 Wiki大全
7
+ </title>
8
+ <script type='text/javascript' src='/assets/javascripts/application.js'></script>
9
+ <script type='text/javascript' src='/assets/javascripts/document_post.js'></script>
10
+ <link href="/assets/stylesheets/application.css" media="all" rel="stylesheet" />
11
+ <link href="/assets/stylesheets/document_post.css" media="all" rel="stylesheet" />
12
+ </head>
13
+ <body>
14
+ <div id='header' class='clearfix'>
15
+ <div class='nav wrapper'>
16
+ <a href='/index.html'>首页</a>
17
+
18
+ <a href='/document/projects/tuan800/index.html' title='团800'>团800</a>
19
+ <a href='/document/projects/zhe800/index.html' title='折800'>折800</a>
20
+ <a href='/document/projects/hui800/index.html' title='惠800'>惠800</a>
21
+ <a href='/document/projects/passport800/index.html' title='团800通行证'>团800通行证</a>
22
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
23
+ <a href='/document/juices/index.html' title='每日果汁'>每日果汁</a>
24
+ <a href='/document/help/index.html' title='帮助'>帮助</a>
25
+ </div>
26
+ </div>
27
+
28
+ <div id='container' class='wrapper clearfix'>
29
+ <div class='path'>
30
+ <a href='/index.html'>首页</a>
31
+
32
+ &gt;
33
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
34
+ &gt;
35
+ <a href='/document/learning/ruby/index.html' title='ruby'>ruby</a>
36
+ </div>
37
+
38
+ <div class='information'>
39
+ <h1>markdown基础教程</h1>
40
+
41
+ <div class='bar'>
42
+ 时间: 2013-08-20 14:00
43
+
44
+ <span class='bar-authors'>
45
+ 作者:
46
+ <a href='javascript:;'>王进忠</a>
47
+ </span>
48
+
49
+ <span class='bar-categories'>
50
+ 分类:
51
+ <a href='javascript:;'>learning</a>
52
+ </span>
53
+ </div>
54
+
55
+ <div class='bar bar-tags'>
56
+ <a href='javascript:;' class='button'>Markdown</a>
57
+ </div>
58
+
59
+ <div class='outline'>
60
+ 纲要: 可读性,无论如何,都是最重要的。一份使用 Markdown 格式撰写的文件应该可以直接以纯文本发布,并且看起来不会像是由许多标签或是格式指令所构成。Markdown 语法受到一些既有 text-to-HTML 格式的影响,包括 Setext、atx、Textile、reStructuredText、Grutatext 和 EtText,而最大灵感来源其实是纯文本电子邮件的格式。 总之, Markdown 的语法全由一些符号所组成,这些符号经过精挑细选,其作用一目了然。比如:在文字两旁加上星号,看起来就像*强调*。Markdown 的列表看起来,嗯,就是列表。Markdown 的区块引用看起来就真的像是引用一段文字,就像你曾在电子邮件中见过的那样。
61
+ </div>
62
+
63
+ </div>
64
+
65
+ <div class='container-block clearfix'>
66
+ <!-- container-main begin -->
67
+ <div class='container-main clearfix'>
68
+
69
+ <div class='content'>
70
+ <div class='content-inner content-workmark'>
71
+ <h1>
72
+ <a name="markup-h1-1"></a>Ruby 简介</h1>
73
+
74
+ <h2>
75
+ <a name="markup-h2-2"></a>历史</h2>
76
+
77
+ <h2>
78
+ <a name="markup-h2-3"></a>发展</h2>
79
+ </div>
80
+ </div>
81
+
82
+ </div> <!-- container-main end -->
83
+
84
+ <div class='container-side clearfix'>
85
+ <h3>文档目录大纲</h3>
86
+ <dl class='dl-catalogs'>
87
+ <dd class='catalog-link-h1'><a href='#markup-h1-1' title='Ruby 简介'>Ruby 简介</a></dd>
88
+ <dd class='catalog-link-h2'><a href='#markup-h2-2' title='历史'>历史</a></dd>
89
+ <dd class='catalog-link-h2'><a href='#markup-h2-3' title='发展'>发展</a></dd>
90
+ </dl>
91
+ </div>
92
+ </div>
93
+
94
+ </div>
95
+ <div id='footer'>
96
+ <div class='wrapper'>
97
+ <p>&copy; 2011-2013 团800文档</p>
98
+ <p>滴水石穿,点点积累</p>
99
+ </div>
100
+ </div>
101
+ </body>
102
+ </html>
@@ -0,0 +1,73 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <title>文件夹: ruby - 团800 Wiki大全</title>
6
+ <script type='text/javascript' src='/assets/javascripts/application.js'></script>
7
+ <script type='text/javascript' src='/assets/javascripts/document_folder.js'></script>
8
+ <link href="/assets/stylesheets/application.css" media="all" rel="stylesheet" />
9
+ <link href="/assets/stylesheets/document_folder.css" media="all" rel="stylesheet" />
10
+ </head>
11
+ <body>
12
+ <div id='header' class='clearfix'>
13
+ <div class='nav wrapper'>
14
+ <a href='/index.html'>首页</a>
15
+
16
+ <a href='/document/projects/tuan800/index.html' title='团800'>团800</a>
17
+ <a href='/document/projects/zhe800/index.html' title='折800'>折800</a>
18
+ <a href='/document/projects/hui800/index.html' title='惠800'>惠800</a>
19
+ <a href='/document/projects/passport800/index.html' title='团800通行证'>团800通行证</a>
20
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
21
+ <a href='/document/juices/index.html' title='每日果汁'>每日果汁</a>
22
+ <a href='/document/help/index.html' title='帮助'>帮助</a>
23
+ </div>
24
+ </div>
25
+
26
+
27
+ <div id='container' class='wrapper clearfix'>
28
+
29
+ <!-- container-main begin -->
30
+ <div class='container-main clearfix'>
31
+ <div class='path'>
32
+ <a href='/index.html'>首页</a>
33
+
34
+ &gt;
35
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
36
+
37
+ &gt;
38
+ ruby
39
+ </div>
40
+
41
+ <div class='information'>
42
+ <h1>ruby</h1>
43
+
44
+ <div class='bar'>
45
+ 共 <span class='high'>0</span> 个子文件夹
46
+ 共 <span class='high'>1</span> 篇文档
47
+ </div>
48
+ </div>
49
+
50
+ <div class='posterity'>
51
+
52
+ <ul class='folders'>
53
+ <li class='post' title='可读性,无论如何,都是最重要的。一份使用 Markdown 格式撰写的文件应该可以直接以纯文本发布,并且看起来不会像是由许多标签或是格式指令所构成。Markdown 语法受到一些既有 text-to-HTML 格式的影响,包括 Setext、atx、Textile、reStructuredText、Grutatext 和 EtText,而最大灵感来源其实是纯文本电子邮件的格式。 总之, Markdown 的语法全由一些符号所组成,这些符号经过精挑细选,其作用一目了然。比如:在文字两旁加上星号,看起来就像*强调*。Markdown 的列表看起来,嗯,就是列表。Markdown 的区块引用看起来就真的像是引用一段文字,就像你曾在电子邮件中见过的那样。'>
54
+ <a href='/document/learning/ruby/1.html' title='markdown基础教程'>markdown基础教程</a>
55
+ <span class='introduction'>可读性,无论如何,都是最重要的。一份使用 Markdown 格式 ...</span>
56
+ <a href='/document/learning/ruby/1.html' title='markdown基础教程' class='read-link'>阅读 &gt;&gt;</a>
57
+ </li>
58
+
59
+ </ul>
60
+
61
+ </div>
62
+ </div> <!-- container-main end -->
63
+ </div>
64
+
65
+ <div id='footer'>
66
+ <div class='wrapper'>
67
+ <p>&copy; 2011-2013 团800文档</p>
68
+ <p>滴水石穿,点点积累</p>
69
+ </div>
70
+ </div>
71
+
72
+ </body>
73
+ </html>
@@ -0,0 +1,73 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <title>文件夹: 初学者教程 - 团800 Wiki大全</title>
6
+ <script type='text/javascript' src='/assets/javascripts/application.js'></script>
7
+ <script type='text/javascript' src='/assets/javascripts/document_folder.js'></script>
8
+ <link href="/assets/stylesheets/application.css" media="all" rel="stylesheet" />
9
+ <link href="/assets/stylesheets/document_folder.css" media="all" rel="stylesheet" />
10
+ </head>
11
+ <body>
12
+ <div id='header' class='clearfix'>
13
+ <div class='nav wrapper'>
14
+ <a href='/index.html'>首页</a>
15
+
16
+ <a href='/document/projects/tuan800/index.html' title='团800'>团800</a>
17
+ <a href='/document/projects/zhe800/index.html' title='折800'>折800</a>
18
+ <a href='/document/projects/hui800/index.html' title='惠800'>惠800</a>
19
+ <a href='/document/projects/passport800/index.html' title='团800通行证'>团800通行证</a>
20
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
21
+ <a href='/document/juices/index.html' title='每日果汁'>每日果汁</a>
22
+ <a href='/document/help/index.html' title='帮助'>帮助</a>
23
+ </div>
24
+ </div>
25
+
26
+
27
+ <div id='container' class='wrapper clearfix'>
28
+
29
+ <!-- container-main begin -->
30
+ <div class='container-main clearfix'>
31
+ <div class='path'>
32
+ <a href='/index.html'>首页</a>
33
+
34
+ &gt;
35
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
36
+
37
+ &gt;
38
+ 初学者教程
39
+ </div>
40
+
41
+ <div class='information'>
42
+ <h1>初学者教程</h1>
43
+
44
+ <div class='bar'>
45
+ 共 <span class='high'>0</span> 个子文件夹
46
+ 共 <span class='high'>1</span> 篇文档
47
+ </div>
48
+ </div>
49
+
50
+ <div class='posterity'>
51
+
52
+ <ul class='folders'>
53
+ <li class='post' title='可读性,无论如何,都是最重要的。一份使用 Markdown 格式撰写的文件应该可以直接以纯文本发布,并且看起来不会像是由许多标签或是格式指令所构成。Markdown 语法受到一些既有 text-to-HTML 格式的影响,包括 Setext、atx、Textile、reStructuredText、Grutatext 和 EtText,而最大灵感来源其实是纯文本电子邮件的格式。 总之, Markdown 的语法全由一些符号所组成,这些符号经过精挑细选,其作用一目了然。比如:在文字两旁加上星号,看起来就像*强调*。Markdown 的列表看起来,嗯,就是列表。Markdown 的区块引用看起来就真的像是引用一段文字,就像你曾在电子邮件中见过的那样。'>
54
+ <a href='/document/learning/初学者教程/markdown-basic.html' title='markdown基础教程'>markdown基础教程</a>
55
+ <span class='introduction'>可读性,无论如何,都是最重要的。一份使用 Markdown 格式 ...</span>
56
+ <a href='/document/learning/初学者教程/markdown-basic.html' title='markdown基础教程' class='read-link'>阅读 &gt;&gt;</a>
57
+ </li>
58
+
59
+ </ul>
60
+
61
+ </div>
62
+ </div> <!-- container-main end -->
63
+ </div>
64
+
65
+ <div id='footer'>
66
+ <div class='wrapper'>
67
+ <p>&copy; 2011-2013 团800文档</p>
68
+ <p>滴水石穿,点点积累</p>
69
+ </div>
70
+ </div>
71
+
72
+ </body>
73
+ </html>
@@ -0,0 +1,140 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <title>
6
+ 《markdown基础教程》 - 初学者教程 - 团800 Wiki大全
7
+ </title>
8
+ <script type='text/javascript' src='/assets/javascripts/application.js'></script>
9
+ <script type='text/javascript' src='/assets/javascripts/document_post.js'></script>
10
+ <link href="/assets/stylesheets/application.css" media="all" rel="stylesheet" />
11
+ <link href="/assets/stylesheets/document_post.css" media="all" rel="stylesheet" />
12
+ </head>
13
+ <body>
14
+ <div id='header' class='clearfix'>
15
+ <div class='nav wrapper'>
16
+ <a href='/index.html'>首页</a>
17
+
18
+ <a href='/document/projects/tuan800/index.html' title='团800'>团800</a>
19
+ <a href='/document/projects/zhe800/index.html' title='折800'>折800</a>
20
+ <a href='/document/projects/hui800/index.html' title='惠800'>惠800</a>
21
+ <a href='/document/projects/passport800/index.html' title='团800通行证'>团800通行证</a>
22
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
23
+ <a href='/document/juices/index.html' title='每日果汁'>每日果汁</a>
24
+ <a href='/document/help/index.html' title='帮助'>帮助</a>
25
+ </div>
26
+ </div>
27
+
28
+ <div id='container' class='wrapper clearfix'>
29
+ <div class='path'>
30
+ <a href='/index.html'>首页</a>
31
+
32
+ &gt;
33
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
34
+ &gt;
35
+ <a href='/document/learning/初学者教程/index.html' title='初学者教程'>初学者教程</a>
36
+ </div>
37
+
38
+ <div class='information'>
39
+ <h1>markdown基础教程</h1>
40
+
41
+ <div class='bar'>
42
+ 时间: 2013-08-20 14:00
43
+
44
+ <span class='bar-authors'>
45
+ 作者:
46
+ <a href='javascript:;'>王进忠</a>
47
+ </span>
48
+
49
+ <span class='bar-categories'>
50
+ 分类:
51
+ <a href='javascript:;'>learning</a>
52
+ </span>
53
+ </div>
54
+
55
+ <div class='bar bar-tags'>
56
+ <a href='javascript:;' class='button'>Markdown</a>
57
+ </div>
58
+
59
+ <div class='outline'>
60
+ 纲要: 可读性,无论如何,都是最重要的。一份使用 Markdown 格式撰写的文件应该可以直接以纯文本发布,并且看起来不会像是由许多标签或是格式指令所构成。Markdown 语法受到一些既有 text-to-HTML 格式的影响,包括 Setext、atx、Textile、reStructuredText、Grutatext 和 EtText,而最大灵感来源其实是纯文本电子邮件的格式。 总之, Markdown 的语法全由一些符号所组成,这些符号经过精挑细选,其作用一目了然。比如:在文字两旁加上星号,看起来就像*强调*。Markdown 的列表看起来,嗯,就是列表。Markdown 的区块引用看起来就真的像是引用一段文字,就像你曾在电子邮件中见过的那样。
61
+ </div>
62
+
63
+ </div>
64
+
65
+ <div class='container-block clearfix'>
66
+ <!-- container-main begin -->
67
+ <div class='container-main clearfix'>
68
+
69
+ <div class='content'>
70
+ <div class='content-inner content-workmark'>
71
+ <h1>
72
+ <a name="markup-h1-1"></a>增强版本</h1>
73
+
74
+ <p>Markdown还有一系列衍生版本,用于扩展Markdown的功能(如表格、脚注、内嵌HTML等等),这些功能原初的Markdown尚不具备,同时,也能让Markdown转换成更多的格式,例如LaTeX,Docbook。Markdown增强版中比较有名的有Markdown Extra、MultiMarkdown、 Maruku等。这些衍生版本要么基于工具,如Pandoc;要么基于网站,如GitHub和Wikipedia,在语法上基本兼容,但在换行等细节上也有改动。</p>
75
+
76
+ <h2>
77
+ <a name="markup-h2-2"></a>用途</h2>
78
+
79
+ <p>Markdown的语法简洁明了、学习容易,而且功能比纯文本更强,因此有很多人用它写博客。世界上最流行的博客平台WordPress和大型CMS如joomla、drupal都能很好的支持Markdown。</p>
80
+
81
+ <h2>
82
+ <a name="markup-h2-3"></a>语法</h2>
83
+
84
+ <h3>
85
+ <a name="markup-h3-4"></a>宗旨</h3>
86
+
87
+ <p>Markdown 的目标是实现「易读易写」。</p>
88
+
89
+ <p>可读性,无论如何,都是最重要的。一份使用 Markdown 格式撰写的文件应该可以直接以纯文本发布,并且看起来不会像是由许多标签或是格式指令所构成。Markdown 语法受到一些既有 text-to-HTML 格式的影响,包括Setext、atx、Textile、reStructuredText、Grutatext 和 EtText,而最大灵感来源其实是纯文本电子邮件的格式。<br>
90
+ 总之, Markdown 的语法全由一些符号所组成,这些符号经过精挑细选,其作用一目了然。比如:在文字两旁加上星号,看起来就像*强调*。Markdown 的列表看起来,嗯,就是列表。Markdown 的区块引用看起来就真的像是引用一段文字,就像你曾在电子邮件中见过的那样。</p>
91
+
92
+ <h3>
93
+ <a name="markup-h3-5"></a>兼容 HTML</h3>
94
+
95
+ <p>Markdown 语法的目标是:成为一种适用于网络的书写语言。</p>
96
+
97
+ <p>Markdown 不是想要取代 HTML,甚至也没有要和它相近,它的语法种类很少,只对应 HTML 标记的一小部分。Markdown 的构想不是要使得 HTML 文档更容易书写。在我看来, HTML 已经很容易写了。Markdown 的理念是,能让文档更容易读、写和随意改。HTML 是一种发布的格式,Markdown 是一种书写的格式。就这样,Markdown 的格式语法只涵盖纯文本可以涵盖的范围。</p>
98
+
99
+ <p>不在 Markdown 涵盖范围之内的标签,都可以直接在文档里面用 HTML 撰写。不需要额外标注这是 HTML 或是 Markdown;只要直接加标签就可以了。</p>
100
+
101
+ <p>要制约的只有一些 HTML 区块元素――比如 &lt;div&gt;、&lt;table&gt;、&lt;pre&gt;、&lt;p&gt; 等标签,必须在前后加上空行与其它内容区隔开,还要求它们的开始标签与结尾标签不能用制表符或空格来缩进。Markdown 的生成器有足够智能,不会在 HTML 区块标签外加上不必要的 &lt;p&gt; 标签。</p>
102
+
103
+ <p>例子如下,在 Markdown 文件里加上一段 HTML 表格:</p>
104
+
105
+ <pre><code>这是一个普通段落。&lt;table&gt; &lt;tr&gt; &lt;td&gt;Foo&lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;这是另一个普通段落。
106
+ 请注意,在 HTML 区块标签间的 Markdown 格式语法将不会被处理。比如,你在 HTML 区块内使用 Markdown 样式的*强调*会没有效果。
107
+ HTML 的区段(行内)标签如 &lt;span&gt;、&lt;cite&gt;、&lt;del&gt; 可以在 Markdown 的段落、列表或是标题里随意使用。依照个人习惯,甚至可以不用 Markdown 格式,而直接采用 HTML 标签来格式化。举例说明:如果比较喜欢 HTML 的 &lt;a&gt; 或 &lt;img&gt; 标签,可以直接使用这些标签,而不用 Markdown 提供的链接或是图像标签语法。
108
+ </code></pre>
109
+
110
+ <p>和处在 HTML 区块标签间不同,Markdown 语法在 HTML 区段标签间是有效的。</p>
111
+
112
+ <h3>
113
+ <a name="markup-h3-6"></a>特殊字符自动转换</h3>
114
+ </div>
115
+ </div>
116
+
117
+ </div> <!-- container-main end -->
118
+
119
+ <div class='container-side clearfix'>
120
+ <h3>文档目录大纲</h3>
121
+ <dl class='dl-catalogs'>
122
+ <dd class='catalog-link-h1'><a href='#markup-h1-1' title='增强版本'>增强版本</a></dd>
123
+ <dd class='catalog-link-h2'><a href='#markup-h2-2' title='用途'>用途</a></dd>
124
+ <dd class='catalog-link-h2'><a href='#markup-h2-3' title='语法'>语法</a></dd>
125
+ <dd class='catalog-link-h3'><a href='#markup-h3-4' title='宗旨'>宗旨</a></dd>
126
+ <dd class='catalog-link-h3'><a href='#markup-h3-5' title='兼容 HTML'>兼容 HTML</a></dd>
127
+ <dd class='catalog-link-h3'><a href='#markup-h3-6' title='特殊字符自动转换'>特殊字符自动转换</a></dd>
128
+ </dl>
129
+ </div>
130
+ </div>
131
+
132
+ </div>
133
+ <div id='footer'>
134
+ <div class='wrapper'>
135
+ <p>&copy; 2011-2013 团800文档</p>
136
+ <p>滴水石穿,点点积累</p>
137
+ </div>
138
+ </div>
139
+ </body>
140
+ </html>
@@ -0,0 +1,63 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <title>文件夹: 惠800 - 团800 Wiki大全</title>
6
+ <script type='text/javascript' src='/assets/javascripts/application.js'></script>
7
+ <script type='text/javascript' src='/assets/javascripts/document_folder.js'></script>
8
+ <link href="/assets/stylesheets/application.css" media="all" rel="stylesheet" />
9
+ <link href="/assets/stylesheets/document_folder.css" media="all" rel="stylesheet" />
10
+ </head>
11
+ <body>
12
+ <div id='header' class='clearfix'>
13
+ <div class='nav wrapper'>
14
+ <a href='/index.html'>首页</a>
15
+
16
+ <a href='/document/projects/tuan800/index.html' title='团800'>团800</a>
17
+ <a href='/document/projects/zhe800/index.html' title='折800'>折800</a>
18
+ <a href='/document/projects/hui800/index.html' title='惠800'>惠800</a>
19
+ <a href='/document/projects/passport800/index.html' title='团800通行证'>团800通行证</a>
20
+ <a href='/document/learning/index.html' title='学习教程'>学习教程</a>
21
+ <a href='/document/juices/index.html' title='每日果汁'>每日果汁</a>
22
+ <a href='/document/help/index.html' title='帮助'>帮助</a>
23
+ </div>
24
+ </div>
25
+
26
+
27
+ <div id='container' class='wrapper clearfix'>
28
+
29
+ <!-- container-main begin -->
30
+ <div class='container-main clearfix'>
31
+ <div class='path'>
32
+ <a href='/index.html'>首页</a>
33
+
34
+
35
+ &gt;
36
+ 惠800
37
+ </div>
38
+
39
+ <div class='information'>
40
+ <h1>惠800</h1>
41
+
42
+ <div class='bar'>
43
+ 共 <span class='high'>0</span> 个子文件夹
44
+ 共 <span class='high'>0</span> 篇文档
45
+ </div>
46
+ </div>
47
+
48
+ <div class='posterity'>
49
+
50
+
51
+ </div>
52
+ </div> <!-- container-main end -->
53
+ </div>
54
+
55
+ <div id='footer'>
56
+ <div class='wrapper'>
57
+ <p>&copy; 2011-2013 团800文档</p>
58
+ <p>滴水石穿,点点积累</p>
59
+ </div>
60
+ </div>
61
+
62
+ </body>
63
+ </html>