reStructuredText Note
转载自
http://docutils.sourceforge.net/docs/user/rst/quickref.html
Inline Markup
Plain text | Typical result | Notes |
---|---|---|
emphasis | emphasis | Normally rendered as italics. |
strong emphasis | strong emphasis | Normally rendered as boldface. |
interpreted text | (see note at right) | The rendering and meaning of interpreted text is domain- or application-dependent. It can be used for things like index entries or explicit descriptive markup (like program identifiers). |
inline literal | inline literal | Normally rendered as monospaced text. Spaces should be preserved, but line breaks will not be. |
reference | reference | A simple, one-word hyperlink reference. See Hyperlink Targets. |
phrase reference | phrase reference | A hyperlink reference with spaces or punctuation needs to be quoted with backquotes. See Hyperlink Targets. |
anonymous_ | anonymous | With two underscores instead of one, both simple and phrase references may be anonymous (the reference text is not repeated at the target). See Hyperlink Targets. |
inline internal target | inline internal target | A crossreference target within text. See Hyperlink Targets. |
|substitution reference| | (see note at right) | The result is substituted in from the substitution definition. It could be text, an image, a hyperlink, or a combination of these and others. |
footnote reference [1] | footnote reference 1 | See Footnotes. |
citation reference [CIT2002] | citation reference [CIT2002] | See Citations. |
http://docutils.sf.net/ | http://docutils.sf.net/ | A standalone hyperlink. |
分隔符(delimiter)
- start-string 后不能有空格
- end-string 前不能有空格
Plain text | Typical result |
---|---|
Definition lists: what Definition lists associate a term with a definition. how The term is a one-line phrase, and the definition is one or more paragraphs or body elements, indented relative to the term. Blank lines are not allowed between term and definition. | Definition lists:
|
Plain text | Typical result | ||||||||
---|---|---|---|---|---|---|---|---|---|
:Authors: Tony J. (Tibs) Ibbs, David Goodger (and sundry other good-natured folks) :Version: 1.0 of 2001/08/08 |
|
Explicit Markup
Footnotes
|
|
|
|
|
|
Citations
|
|
Hyperlink Targets
External Hyperlink Targets
|
|
|
|
Internal Hyperlink Targets
|
|
Indirect Hyperlink Targets
|
|
Example
|
|
添加高亮语法(注意对齐)
|
|
添加图片
|
|