Skip to content

Commit 194d078

Browse files
committed
Merge pull request AngelCrunchDev#14 from kxxoling/master
update tutorial outline
2 parents 619a329 + 032a2aa commit 194d078

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

tutorial.rst

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,35 @@ View 与 `tornado.web.RequestHandler`
4040

4141
\@route
4242

43-
root.py ::
43+
.. code-block:: python
4444
45+
# root.py
46+
...
4547
@route
4648
class hello_world(View):
4749
def get(self):
4850
o = 'world'
4951
self.render()
50-
52+
...
5153
5254
5355
STEP3: 第一个 Mako 文件
5456
-----------------------------------
5557

56-
mako ::
58+
.. code-block:: mako
5759
5860
<h1>Hello, ${ o }</h1>
5961
6062
6163
64+
STEP3: 第一个 Plim 文件
65+
-----------------------------------
66+
67+
.. code-block:: mako
68+
69+
<h1>Hello, ${ o }</h1>
70+
71+
6272
STEP3: 第一个 SCSS/SASS 文件
6373
-----------------------------------
6474

0 commit comments

Comments
 (0)