Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Side by Side Diff: native_client_sdk/src/doc/rest-devsite-examples.rst

Issue 23465032: Add a formatting example for definition lists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .. _getting_started: 1 .. _getting_started:
2 2
3 #################################################### 3 ####################################################
4 Examples of ReST markup for devsite (Document title) 4 Examples of ReST markup for devsite (Document title)
5 #################################################### 5 ####################################################
6 6
7 This is an auto-generated table of contents for this document. ``:local:`` and 7 This is an auto-generated table of contents for this document. ``:local:`` and
8 ``:backlinks: none`` are required to make the devsite look consistent; 8 ``:backlinks: none`` are required to make the devsite look consistent;
9 ``:depth:`` level can be controlled. 9 ``:depth:`` level can be controlled.
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 It's also possible to give such cross-references custom names: :ref:`Same 72 It's also possible to give such cross-references custom names: :ref:`Same
73 Section Heading<link_for_section_heading>`. 73 Section Heading<link_for_section_heading>`.
74 74
75 To external locations 75 To external locations
76 --------------------- 76 ---------------------
77 77
78 Plain links can be placed like this: http://google.com and also `like this 78 Plain links can be placed like this: http://google.com and also `like this
79 <http://google.com>`_. 79 <http://google.com>`_.
80 80
81 Definition lists
82 ================
83
84 Can be used to define a group of related terms. Internal formatting is supported
85 within the definition. No special formatting needs to be done for the definition
86 name/title - it's handled by the devsite.
87
88 Apple
89 The apple is the pomaceous fruit of the apple tree, species Malus domestica in
90 the rose family (**Rosaceae**).
91 Fig
92 The common fig (**Ficus carica**) is a species of flowering plant in the genus
93 Ficus, from the family Moraceae, known as the common fig (or just the fig),
94 anjeer (Iran, Pakistan), and dumur (Bengali).
95 Pear
96 The pear is any of several tree and shrub species of genus Pyrus /ˈpaɪrəs/, in
97 the family Rosaceae.
98
81 Notes and Admonitions 99 Notes and Admonitions
82 ===================== 100 =====================
83 101
84 The devsite supports special "notes" that are indented and have a background 102 The devsite supports special "notes" that are indented and have a background
85 color. We'll generate them with the ``Note`` directive, providing the class 103 color. We'll generate them with the ``Note`` directive, providing the class
86 explicitly. The class is one of ``note``, ``caution``, ``warning``, 104 explicitly. The class is one of ``note``, ``caution``, ``warning``,
87 ``special``. 105 ``special``.
88 106
89 .. Note:: 107 .. Note::
90 :class: note 108 :class: note
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 222
205 +------------------------+------------+----------+----------+ 223 +------------------------+------------+----------+----------+
206 | Header row, column 1 | Header 2 | Header 3 | Header 4 | 224 | Header row, column 1 | Header 2 | Header 3 | Header 4 |
207 | (header rows optional) | | | | 225 | (header rows optional) | | | |
208 +========================+============+==========+==========+ 226 +========================+============+==========+==========+
209 | body row 1, column 1 | column 2 | column 3 | column 4 | 227 | body row 1, column 1 | column 2 | column 3 | column 4 |
210 +------------------------+------------+----------+----------+ 228 +------------------------+------------+----------+----------+
211 | body row 2 | ... | ... | | 229 | body row 2 | ... | ... | |
212 +------------------------+------------+----------+----------+ 230 +------------------------+------------+----------+----------+
213 231
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698