Title: reStructuredText cheat sheet RST syntax primer/examples. Paragraphs ---------- :: First paragraph. Another paragraph. First paragraph. Another paragraph. Link ---- :: `Website `_ `Website `_ Italics ------- :: *italic text* *italic text* Bold ---- :: **bold text** *bold text* Fixed width text ---------------- :: ``fixed width text`` ``fixed width text`` Line breaks ----------- :: | the line breaks | here | the line breaks | here Horizontal rule --------------- *Four or more punctuation characters set off by blank lines.* :: ---- ---- Headings -------- :: ########## h1 heading ########## ********** h2 heading ********** h3 heading ========== h4 heading ---------- .. raw:: html

h1 heading

Lorum ipsum

h2 heading

Lorum ipsum

h3 heading

Lorum ipsum

h4 heading

Lorum ipsum

Unorderd list ------------- :: - Apple - Cider - Apple - Cider Ordered list ------------ :: 1. First 2. Second 1. First 2. Second Definition list --------------- :: one the 1st cardinal two the 2nd cardinal one the 1st cardinal two the 2nd cardinal Block quote ----------- :: Main body text. Four score and twenty years ago… More main body text. Main body text. Four score and twenty years ago… More main body text. Image ----- *:alt:, :target: and :width: are optional.* :: .. image:: /include/images/pagegen_150x28.png :alt: Foo :target: https://pagegen.phnd.net :width: 300px .. image:: /include/images/pagegen.png :alt: Foo :target: http://duckduckgo.com :width: 300px Tables ------ :: == == A B == == 1 2 3 4 == == == == A B == == 1 2 3 4 == == *Or* :: +---+---+ | A | B | +===+===+ | 1 | 2 | +---+---+ | 3 | 4 | +---+---+ +---+---+ | A | B | +===+===+ | 1 | 2 | +---+---+ | 3 | 4 | +---+---+ Preformatted text ----------------- .. raw:: html
::
	  
	  int add(int a, int b) {
	    return (a+b);
	  }
	
:: int add(int a, int b) { return (a+b); } Admonitions ----------- *Admonitions variants are attention, caution, danger, error, hint, important, note, tip, warning or admonition. The following shows the tip admonition.* :: .. tip:: A friendly tip Multilines are possible .. tip:: A friendly tip Multilines are possible HTML ---- :: .. raw:: html Raw HTML .. raw:: html Raw HTML