OSDN Git Service

Regular updates
[twpd/master.git] / rst.md
1 ---
2 title: ReStructuredText
3 category: Markup
4 layout: 2017/sheet
5 ---
6
7 ### About
8 {: .-intro}
9
10 ReStructuredText is a markup language for writing documents.
11
12 - <https://en.wikipedia.org/wiki/ReStructuredText>
13
14 ### Comments
15
16     .. @theme 2010
17     .. include:: ../themes/2010/common.rst
18     .. contents::
19     .. |substitute| replace:: replacement name
20
21 ### Headings
22
23     Heading
24     =======
25     
26     .. class:: brief
27     
28     Hello there. |substitute| **This is bold**
29     
30     
31      - Bullet list with a link_ (or `link with words`_)
32      - Yes
33     
34     .. _link: http://link.org
35     
36 ### PDF page break
37
38     .. raw:: pdf
39     
40        PageBreak oneColumn
41     
42 ### Link targets
43     
44     Internal link target_.
45     
46     .. _target:
47     
48     This is where _target will end up in.
49     
50 ### Tables (?)
51     
52     .. class:: hash-table
53     
54     .. list-table::
55     
56        * - :key:`Cuisine:`
57          - :val:`French/fusion`
58        * - :key:`Number of ingredients:`
59          - :val:`8`
60        * - :key:`Preparation time:`
61          - :val:`30 hours`