@@ -92,60 +92,81 @@ Text formatting
9292
9393The following is a table of inline markup that can be used to format text in Moin.
9494
95- +----------------------------------------+------------------------------------+
96- | Markup |Result |
97- +========================================+====================================+
98- | ``**Bold Text**`` |**Bold text** |
99- +----------------------------------------+------------------------------------+
100- | ``*Italic*`` |*Italic* |
101- +----------------------------------------+------------------------------------+
102- | ````Inline Literals```` |``Inline Literals`` |
103- +----------------------------------------+------------------------------------+
104- | ``***nested markup is not supported***``|***nested markup is not supported***|
105- +----------------------------------------+------------------------------------+
95+ ======================================== ====================================
96+ Markup Result
97+ ======================================== ====================================
98+ ``**Bold Text** `` **Bold text **
99+
100+ ``*Italic*`` *Italic*
101+
102+ ````Inline Literals`` `` ``Inline Literals ``
103+
104+ ``***nested markup is not supported*** `` ***nested markup is not supported* **
105+ ======================================== ====================================
106+
106107
107108Hyperlinks
108109==========
109110
110111External Links
111112--------------
112113
113- +-----------------------------------------------------------------+-------------------------------------------------------------+
114- | Markup |Result |
115- +=================================================================+=============================================================+
116- | ``https://www.python.org/`` |https://www.python.org/ |
117- +-----------------------------------------------------------------+-------------------------------------------------------------+
118- | ``External hyperlinks, like `Python <https://www.python.org/>`_``|External hyperlinks, like `Python <https://www.python.org/>`_|
119- +----------------------------------------------------------------+--------------------------------------------------------------+
120- | ``External hyperlinks, like Moin _.`` |External hyperlinks, like Moin_. |
121- | | |
122- | ``.. _Moin: http://moinmo.in/`` |.. _Moin: http://moinmo.in/ |
123- +-----------------------------------------------------------------+-------------------------------------------------------------+
114+ ================================================================ =====================================================
115+ Markup Result
116+ ================================================================ =====================================================
117+ ``http://www.python.org/ `` http://www.python.org/
118+
119+ ``External hyperlinks, like `Python <http://www.python.org/>`_`` External hyperlinks, like
120+ `Python <http://www.python.org/ >`_
121+
122+ ``External hyperlinks, like Moin_.`` External hyperlinks, like Moin_.
123+
124+ ``.. _Moin: http://moinmo.in/ `` .. _Moin: http://moinmo.in/
125+ ================================================================ =====================================================
124126
125127Internal Links
126128--------------
127129
130+ The examples below use the "help-en" and "help-common" namespaces to separate these help pages from the main wiki content.
131+ Some target pages may be missing from the default namespace.
132+
133+ Within the rst syntax:
134+
135+ * a link like ``http:Home `` links to an item in the default namespace
136+ * a link like ``http:/subitem `` links to a subitem of the current item
137+ * a link that begins with a namespace like ``http:users/Home `` links to the Home item in the target namespace
138+ * a link like ``http:../sibling `` links to a sibling of the current item
139+
128140.. _myanchor:
129141
130- +----------------------------------------------------------------+------------------------------------------------------------+
131- | Markup |Result |
132- +================================================================+============================================================+
133- | ``http:Home`` link to a page in this wiki |http:Home link to a page in this wiki |
134- +----------------------------------------------------------------+------------------------------------------------------------+
135- | ```Home <http:Home>`_`` link to a page in this wiki |`Home <http:Home>`_ link to a page in this wiki |
136- +----------------------------------------------------------------+------------------------------------------------------------+
137- | ``Headings_`` link to heading anchor on this page |Headings_ link to heading anchor on this page |
138- +----------------------------------------------------------------+------------------------------------------------------------+
139- | ```Internal Links`_`` link to heading with embedded blanks |`Internal Links`_ link to heading with embedded blanks |
140- +----------------------------------------------------------------+------------------------------------------------------------+
141- | ``.. _myanchor:`` create anchor, real anchor is above this table|create anchor, real anchor is above this table |
142- +----------------------------------------------------------------+------------------------------------------------------------+
143- | ``myanchor_`` link to above anchor |myanchor_ link to above anchor |
144- +----------------------------------------------------------------+------------------------------------------------------------+
142+ ============================ ============================ ===========================================================
143+ Markup Result Comment
144+ ============================ ============================ ===========================================================
145+ ``http:Home `` http:Home link to an item in the default namespace of this wiki
146+
147+ ```Home2 <http:Home>`_ `` `Home2 <http:Home >`_ fancy link to an item in the default namespace of this wiki
148+
149+ ``http:/subitem `` http:/subitem link to a subitem of the current item
150+
151+ ```sub <http:/subitem>`_ `` `sub <http:/subitem >`_ fancy link to a subitem of the current item
152+
153+ ``http:users/Home `` http:users/Home link to an item in a different namespace of this wiki
154+
155+ ``http:../moin `` http:../moin link to a sibling of this item
156+
157+ ``Headings_ `` Headings _ link to Headings anchor on this item
158+
159+ ```Internal Links`_ `` `Internal Links `_ link to a heading with embedded blanks
160+
161+ ``.. _myanchor: `` create anchor, real anchor is above this table
162+
163+ ``myanchor_ `` myanchor _ link to above anchor
164+ ============================ ============================ ===========================================================
145165
146166**Notes: **
147167 - If this page was created by Sphinx, none of the above internal link examples work correctly.
148- - The ".. _myanchor:" directive must begin in column one.
168+ - The block level "target" ``.. _myanchor: `` sets an anchor for the following element.
169+ Inline targets set the anchor on the text content which is also used as label.
149170 - Section titles (or headings) automatically generate hyperlink targets (the title
150171 text is used as the hyperlink name).
151172
@@ -161,11 +182,11 @@ several images declared successively without any positioning will display in a h
161182
162183 Before text.
163184
164- .. image:: png
165- :height: 100
185+ .. image:: help-common/logo.svg
186+ :height: 200
166187 :width: 200
167- :scale: 50
168- :alt: alternate text png
188+ :scale: 100
189+ :alt: alternate text logo.svg
169190 :align: center
170191
171192 After text.
@@ -174,18 +195,18 @@ several images declared successively without any positioning will display in a h
174195
175196Before text.
176197
177- .. image :: png
178- :height: 100
198+ .. image :: help-common/logo.svg
199+ :height: 200
179200 :width: 200
180- :scale: 50
181- :alt: alternate text png
201+ :scale: 100
202+ :alt: alternate text logo.svg
182203 :align: center
183204
184205After text.
185206
186207**Notes: **
187- - The Sphinx parser does not have an image named "png " so the alternate text
188- will be displayed.
208+ - The Sphinx parser does not have an image named "logo.svg " so the alternate text
209+ will be displayed above .
189210
190211Figures
191212=======
@@ -198,11 +219,11 @@ will display in a column.
198219
199220 Before text.
200221
201- .. figure:: png
222+ .. figure:: help-common/logo. png
202223 :height: 100
203224 :width: 200
204225 :scale: 50
205- :alt: alternate text png
226+ :alt: alternate text logo. png
206227
207228 Moin Logo
208229
@@ -213,13 +234,14 @@ will display in a column.
213234
214235**Result **:
215236
237+
216238Before text.
217239
218- .. figure :: png
240+ .. figure :: help-common/logo. png
219241 :height: 100
220242 :width: 200
221243 :scale: 50
222- :alt: alternate text png
244+ :alt: alternate text logo. png
223245
224246 Moin Logo
225247
0 commit comments