2. Mosky
•
A Python engineer at Pinkoi
•
An author of some Python packages
(MoSQL, Clime, ...)
•
A speaker at some conferences
(PyCon APAC, PyCon TW, COSCUP, ...)
•
A Python trainer
•
mosky.tw
5. Installation
•
Test if you already have:
•
•
If you have pip:
•
•
rst2html.py --version
pip install docutils
Other:
•
http://docutils.sourceforge.net/
README.html#installation
14. Enumerated List
A enumerated list:
A enumerated list:
3. The first item.
4. The second item.
#. The third item.
3. The first item.
4. The second item.
5. The third item.
``1.``, ``A.``, ``I.``,
``(1)``, ``1)`` are also
work.
1., A., I., (1), 1) also
work.
15. Bullet List
A bullet list:
- This is item 1
- This is item 2
- "-", "*" or "+".
Continuing text must
be aligned.
The two blank lines is
required.
A bullet list:
•
•
•
This is item 1
This is item 2
"-", "*" or "+".
Continuing text must be
aligned.
The two blank lines is
required.
16. Definition List
A definition list:
A Definition List:
Python
Python is a
programming language.
Python
Python is a programming
language.
reStructuredText
reStructuredText is a
markup syntax and
parser system.
reStructuredText
reStructuredText is a
markup syntax and
parser system.
20. Literal Block
A literal block:
::
Everything will be
kept here.
Out of the literal
block.
A literal block:
Everything will be
kept here.
Out of the literal block.
21. Literal Block
A literal block: ::
Everything will be
kept here.
Out of the literal
block.
A literal block:
Everything will be
kept here.
Out of the literal block.
22. Line Block
A line block:
A line block:
| Line breaks and
|
initial indents
| are preserved.
Line breaks and
initial indents
are preserved.
31. Numerical Footnote
PyHUG [1]_ and Taipei.py [2]_ are both the Python
user groups in Taiwan.
.. [1] http://www.meetup.com/pythonhug/
.. [2] http://taipei.python.org.tw/
PyHUG [1] and Taiepi.py [2] both are the Python user groups in
Taiwan.
[1] http://www.meetup.com/pythonhug/
[2] http://taipei.python.org.tw/
32. Numerical Footnote
PyHUG [#]_ and Taipei.py [#]_ are both the Python
user groups in Taiwan.
.. [#] http://www.meetup.com/pythonhug/
.. [#] http://taipei.python.org.tw/
PyHUG [1] and Taiepi.py [2] both are the Python user groups in
Taiwan.
[1] http://www.meetup.com/pythonhug/
[2] http://taipei.python.org.tw/
33. Symbol Footnote
PyHUG [*]_ and Taipei.py [*]_ are both the Python
user groups in Taiwan.
.. [*] http://www.meetup.com/pythonhug/
.. [*] http://taipei.python.org.tw/
PyHUG [*] and Taiepi.py [†] both are the Python user groups in
Taiwan.
[*] http://www.meetup.com/pythonhug/
[†] http://taipei.python.org.tw/
34. Citation
[PyHUG]_ and [Taipei.py]_ are both the Python user
groups in Taiwan.
.. [PyHUG]
http://www.meetup.com/pythonhug/
.. [Taiepi.py] http://taipei.python.org.tw/
[PyHUG] and [Taiepi.py] both are the Python user groups in
Taiwan.
[PyHUG] http://www.meetup.com/pythonhug/
[Taipei.py] http://taipei.python.org.tw/
36. External
Hyperlink Target
PyHUG_ and Taipei.py_ are both the `Python <http://
python.org/>`_ user groups in Taiwan.
.. _PyHUG:
http://www.meetup.com/pythonhug/
.. _Taiepi.py: http://taipei.python.org.tw/
PyHUG and Taiepi.py both are the Python user groups in
Taiwan.
37. Internal
Hyperlink Target
PyHUG_ and Taipei.py_ are both the Python user groups
in Taiwan.
.. _PyHUG:
PyHUG is ...
.. _Taiepi.py:
Taipei.py is ...
PyHUG and Taiepi.py both are the Python user groups in
Taiwan.
42. Comment
PyHUG and Taipei.py are both the Python user groups
in Taiwan.
.. TODO: Put Tainan.py in this paragraph.
PyHUG and Taipei.py are both the Python user groups in
Taiwan.