Skip to content

06 Basic Markdown and text formatting

mgledhill edited this page Jan 16, 2025 · 20 revisions

F

PAL Logo showing Wiki Documentation heading

6.   Basic Markdown and text formatting

This section lists all the Basic Markdown syntax for formatting text. This stuff is supported by (virtually) every Markdown processor.

It lists the Markdown syntax, the equivalent HTML (where possible) and shows the resultant output as rendered on GitHub.

In some cases there are alternative syntax options. I list these alternatives where they exist, but the main syntax (not the alternative options) is generally the preferred option.

⬆️ Top



6.1.       Body text and fonts

Body text in Markdown is whatever text is on a line that is not formatted by some other instruction. This paragraph is body text and is rendered in the main GitHub Wiki window as shown below:


Lorem ipsum dolor sit amet, consectetur adipiscing elit. In consectetur tortor a tortor ornare, non pretium diam faucibus. Morbi ut mollis dolor, nec pretium tellus. Suspendisse ornare neque placerat orci aliquam, eu sodales dui blandit. Maecenas nec risus vel magna blandit euismod. Suspendisse id finibus purus. Nam ultricies non sapien ac rutrum.
Figure 6.1 — Body text on a GitHub Wiki page

The GitHub site is responsive in terms of screen width and sidebar (the sidebar drops to the bottom of the page at lower resolutions), the text narrows and line-wraps as the screen narrows. It does not however, change point size.

Note

GitHub body text is always 16px high and is in the Segoe UI font (on a Windows machine). The line spacing is fixed at 24px (giving a line spacing of 150% which is a bit big; most body text has line spacing in the range 120-145%).

The font colour is a dark grey colour (not black), it is in fact the RGB colour (31, 35, 40) or hex colour (#1F2328). It looks like this:


Body text font colour
Figure 6.2 — Body text font colour

⬆️ Top

6.1.1       Body text responsive design

GitHub displays the body text in a responsive manner, at browser screen widths of 1280px or more, the main area of the screen is shown at a full width that never exceeds 896px (this is as wide as it gets). At this width, the body text displays an average of 21.2 words per line (this is based on the following extract):


Body text extract for metrics

In principle, liquid rocket engines are simple, far simpler than the internal combustion engine. Liquid fuel is pumped into a combustion chamber in the presence of liquid oxygen and a flame. It burns. That’s all there is to it. There are no crankshafts to turn, no pistons to drive. The burning fuel produces energy in the form of gases that exit through the rocket’s nozzle. The force the gases produce against the top of the engine is called thrust. The thrust is transmitted through the rocket’s structure and, if it is greater than the weight of the rocket, the rocket lifts off. Put in its most basic terms, for any rocket to work there are two things that must be done extremely well: The propellants must be brought together, and then they must burn smoothly. In the F-l, just pumping the propellants to the combustion chamber raised unprecedented demands. The F-l used liquid oxygen (LOX) and R.P.-1, a form of kerosene. The pumps, one for the fuel and one for the LOX, had to deliver the kerosene from the tankage to the combustion chamber at the rate of 15,741 gallons per minute, and the LOX at the rate of 24,811 gallons per minute. Driven by a 55,000-horsepower turbine, the pumps had to operate at drastically different temperatures: 60 degrees Fahrenheit for the fuel, –300 degrees for the LOX, while the turbine itself ran at 1,200 degrees. To complicate matters, the whole assembly had to be light and compact enough to fit on board the rocket and nonetheless sturdy enough to resist the pressures, vibrations, and other stresses of launch and flight. Developing the pumps was still not as hard as solving the second basic problem of rocket engines: making the propellants burn smoothly once they had reached the combustion chamber. The pumps brought the kerosene and the LOX to a circular metal slab three feet in diameter and about four inches thick, weighing 1,000 pounds, called the injector plate. The injector plate was pocked with 6,300 holes less than a quarter of an inch in diameter through which the kerosene and LOX entered the combustion chamber. Most of the propellant streams were arranged in groups of five. Two of the five, both kerosene, impinged on each other at a carefully defined distance below the top of the plate, forming a fan-shaped spray. The other three in each five-hole group were of LOX. These also impinged on one another, forming another fan. The two fans intersected. There, given the presence of a flame, they would combust. In the F-l, the combustion chamber was a barrel about thirty-six inches wide and thirty inches long, closed at one end by the injection plate and opening into a nozzle at the other end. A few seconds before ignition, four small pre-burners in the combustion chamber — pilot lights, in effect — were lit, providing a flame at the point of impingement. As the pumps screamed up to speed, valves snapped open and more than a ton of kerosene and two tons of liquid oxygen burst into the combustion chamber. Per second. The gases produced by their ignition roared out through the throat, the open bottom of the barrel, into the cone of the nozzle below. In the course of the few seconds from ignition to full power (mainstage), the interior of the combustion chamber went from ambient temperature to 5,000 degrees Fahrenheit. At the face of the injector plate, pressure went from zero to 1,150 pounds per square inch. Given that combination of propellants, pressures, and nozzle design, the force generated totalled 1.5 million pounds. In the first stage of a Saturn V, five F-l s were to ignite simultaneously and sustain mainstage combustion for 150 seconds.

This is an extract from “Race to the Moon”: Cox, Catherine Bly & Charles Murray (1989). Published by Simon and Schuster. There is a Kindle version by the same authors, but just called Apollo.

Below is a series of lowercase alphabets, also used for page metrics:


abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

Taking the first 29 lines of the above extract (these are complete lines and end with the phrase "to ignite simultaneously and sustain"), the metrics are:


Average number of words per line: 21.2
Average number of characters per line: 123 (including spaces)  
Lowercase alphabets: 5.4 (without spaces)
Table 6.1 — GitHub body text metrics

By most publishing standards, these figures are way too high, the lines are too long for comfortable reading.

Some good rules of thumb for line lengthe are:

   ●  to have between 9.5 to 15 words per line,
   ●  this equates to 45-90 characters per line (including spaces)
   ●  or between 2-3 lowercase alphabets (without spaces)
Table 6.2 — Rules for line length

While it may be too high, we are however, stuck with it. GitHub determines these things.

⬆️ Top

6.1.2       Body text in sidebars and footers

Both sidebars and footers can have body text within them. Body text in sidebars and footers is smaller than that in the main window.

Note

GitHub sidebar and footer body text is always 12px high (as opposed to 16px in the main body text) and has a line spacing of 18px (main body text line spacing 24px) or 150% (this is the same ratio as main body text).

There is no difference between body text in sidebars and in footers it is exactly the same.

⬆️ Top

6.1.3       Body text Markdown rules


   ❶  GitHub will ignore multiple consecutive spaces (it will treat them as a single space)
   ❷  Always leave a blank line between paragraphs (see section xxx)
   ❸  Multiple blank lines will be ignored (treated as a single blank line)
   ❹  Never use the tab character
Table 6.2 — Body text Markdown rules

⬆️ Top

6.1.4       Body text examples


MARKDOWN HTML GITHUB OUTPUT
In principle, liquid rocket engines are simple, far simpler than the internal combustion engine. <p>In principle, liquid rocket engines are simple, far simpler than the internal combustion engine.</p> In principle, liquid rocket engines are simple, far simpler than the internal combustion engine.
Table 6.3 — Body text example

⬆️ Top

6.1.5       Alignment of Body text

Markup does not allow for the alignment of body text (it is always left justified), it does however support HTML alignments:

Left aligned text (default)

<p align="left">Align text to the left</p>

This is the default arrangement, text is at the left-hand side of the body text area, like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In consectetur tortor a tortor ornare, non pretium diam faucibus. Morbi ut mollis dolor, nec pretium tellus. Suspendisse ornare neque placerat orci aliquam, eu sodales dui blandit. Maecenas nec risus vel magna blandit euismod. Suspendisse id finibus purus. Nam ultricies non sapien ac rutrum.

Right aligned text

<p align="right">Align text to the right</p>

Will force text to the right-hand side of the body text area, like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In consectetur tortor a tortor ornare, non pretium diam faucibus. Morbi ut mollis dolor, nec pretium tellus. Suspendisse ornare neque placerat orci aliquam, eu sodales dui blandit. Maecenas nec risus vel magna blandit euismod. Suspendisse id finibus purus. Nam ultricies non sapien ac rutrum.

Centred text

<p align="center">Center the text</p>

Will centre the text in the area, like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In consectetur tortor a tortor ornare, non pretium diam faucibus. Morbi ut mollis dolor, nec pretium tellus. Suspendisse ornare neque placerat orci aliquam, eu sodales dui blandit. Maecenas nec risus vel magna blandit euismod. Suspendisse id finibus purus. Nam ultricies non sapien ac rutrum.

Note the Americanised spelling of "Center".

Justified text

<p align="justify">Justify the text</p>

Will justify the text in the area, like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In consectetur tortor a tortor ornare, non pretium diam faucibus. Morbi ut mollis dolor, nec pretium tellus. Suspendisse ornare neque placerat orci aliquam, eu sodales dui blandit. Maecenas nec risus vel magna blandit euismod. Suspendisse id finibus purus. Nam ultricies non sapien ac rutrum.

⬆️ Top

6.1.6       Body text properties


MAIN WINDOW PROPERTIES SIDEBAR AND FOOTER VARIATIONS
Body text




Font: Segoe UI
Colour: rgb(31, 35, 40) #1F2328
Font size: 16px
Line spacing: 24px (150%)
Underlined: No
Font: Segoe UI
Colour: rgb(31, 35, 40) #1F2328
Font size: 12px
Line spacing: 18px
(150%)
Underlined: No
Table 6.4 — Body text properties
These figures are for a Windows PC using a 2560 × 1560 monitor at native resolution, the browser is Edge set to a zoom of 100% (default setting).
Where there are differences between the columns, these are highlighted in bold.


⬆️ Top


6.2.      Paragraphs and line breaks

Paragraphs and line breaks can be a bit hit and miss in Markdown; the following explains both:

6.2.1       Paragraphs

Within Markdown, paragraphs have to be separated by a blank line, the following (on the left) will form two separate paragraphs (shown on the right):


MARKDOWN (with line numbers)   GITHUB OUTPUT         
1   Paragraph 1
2
3   Paragraph 2

Paragraph 1

Paragraph 2

Figure 6.3 — Separate paragraphs

Leaving out the blank line between paragraphs, causes the paragraphs to merge together:


MARKDOWN (with line numbers)   GITHUB OUTPUT         
1   Paragraph 1
2   Paragraph 2

Paragraph 1Paragraph 2

Figure 6.4 — Not separate paragraphs

In the second example, GitHub effectively ignores the physical line break after Paragraph 1 (the actual line break cause by hitting the enter key).

Note

GitHub will ignore multiple blank lines; it will consider multiple blank lines to be the same as a single blank line between paragraphs.

⬆️ Top

6.2.2    Forced line break

This is the correct mechanism for forcing a line break in Markdown.

To force a line break, use <br> at the end of the line where the break is to occur, the <br> can also be used within lines:


MARKDOWN (with line numbers)   GITHUB OUTPUT         
1   Paragraph 1<br>
2   Paragraph 2
3
4   Paragraph 3<br>Paragraph 4

Paragraph 1
Paragraph 2

Paragraph 3
Paragraph 4

Figure 6.5 — Forced line break

⬆️ Top

6.2.3    Trailing space line break

Caution

DO NOT USE THIS METHOD.

It is a feature of Markdown that two trailing spaces at the end of a line will force a line break.

It is hard to see two spaces at the end of a line (they don’t show up in most editors), The following shows how it works


MARKDOWN (with line numbers)   GITHUB OUTPUT         
1   Paragraph 1∘∘
2   Paragraph 2

Paragraph 1
Paragraph 2

Figure 6.5 — Forced line break   (∘ indicates a space)

Again, do not use this — use the <br> shown above (section 6.2.2):

⬆️ Top

6.2.4    Paragraph and line break Markdown rules


   ❶  Always leave a single blank line between paragraphs (multiple blank lines have no effect)
   ❷  Do not indent paragraphs at all (tabs will be ignored, multiple spaces will be treated as single space)
   ❸  Always use <br> to force a line break
   ❹  Do not use trailing spaces to force a line break
Table 6.5 — Paragraph and line break Markdown rules

⬆️ Top

6.2.5    Paragraph and line break examples


      MARKDOWN       HTML GITHUB OUTPUT
Lorem ipsum.

Consectetur elit.
<p>Lorem.</p><p>Consectetur elit.</p> Lorem ipsum.

Consectetur elit.
Table 6.6 — Paragraph examples

MARKDOWN HTML GITHUB OUTPUT
Lorem ipsum.<br>Consectetur elit. <p>Lorem ipsum.<br>Consectetur elit.</p> Lorem ipsum.
Consectetur elit.
Table 6.7 — Line break examples

⬆️ Top


6.3.      Emphasis with bold

Any text can be made bold by surrounding it with two asterisks (**) i.e.


MARKDOWN    GITHUB OUTPUT
The next word is in **bold**

The next word is in bold

Figure 6.7 — Bold text

Bold can carry over between lines:


MARKDOWN    GITHUB OUTPUT
This is not in bold **the rest of the line is in bold

And so is this.**

This is not in bold the rest of the line is in bold

And so is this.

Figure 6.8 — Bold text across lines

A double underscore can be used in exactly the same way


MARKDOWN    GITHUB OUTPUT
The next word is in __bold__

The next word is in bold

Figure 6.9 — Bold text using underscores

Caution

DO NOT USE UNDERSCORES FOR BOLD.

The use of two underscore characters for bold in the middle of a word is misinterpreted by some Markdown applications, don’t use underscores, always use asterisks.

⬆️ Top

6.3.1       Markdown rules for bold


   ❶  Surround the text that is to be in bold with two asterisks (\*\*) before and after
   ❷  Do not use double underscores (always use asterisks)
   ❸  Bold text can span lines
Table 6.8 — Markdown rules for bold

⬆️ Top

6.3.2    Bold text examples


MARKDOWN HTML GITHUB OUTPUT
Lorem **ipsum** dolor sit <p>Lorem.<strong>ipsum</strong> dolor sit</p> Lorem ipsum dolor sit

Lorem **ipsum dolor sit

Consectetur** elit.

<p>Lorem.<strong>ipsum dolor sit</strong></p><p>
<strong>Consectetur</strong> elit.</p>

Lorem ipsum dolor sit

Consectetur elit.

Table 6.9 — Bold text examples

⬆️ Top


6.4.      Emphasis with italics

Any text can be made italic by surrounding it with a single asterisk (*) i.e.


MARKDOWN    GITHUB OUTPUT
The next word is in *italics*

The next word is in italics

Figure 6.10 — Italic text

Italics can carry over between lines:


MARKDOWN    GITHUB OUTPUT
This is not in italics *the rest of the line is in italics

And so is this.*

This is not in italics the rest of the line is in italics

And so is this.

Figure 6.11 — Italic text across lines

A single underscore can be used in exactly the same way


MARKDOWN    GITHUB OUTPUT
The next word is in _italics_

The next word is in italics

Figure 6.12 — Italic text using underscores

Caution

DO NOT USE UNDERSCORES FOR ITALICS.

The use of underscore characters for italics in the middle of a word is misinterpreted by some Markdown applications, don’t use underscores, always use asterisks.

⬆️ Top

6.4.1       Markdown rules for italics


   ❶  Surround the text that is to be in italics with an asterisk (\*) before and after
   ❷  Do not use double underscores (always use asterisks)
   ❸  Italic text can span lines
Table 6.10 — Markdown rules for italics

⬆️ Top

6.4.2    Italic text examples


MARKDOWN HTML GITHUB OUTPUT
Lorem *ipsum* dolor sit <p>Lorem.<em>ipsum</em> dolor sit</p> Lorem ipsum dolor sit

Lorem *ipsum dolor sit

Consectetur* elit.

<p>Lorem.<em>ipsum dolor sit</em></p><p>
<em>Consectetur</em> elit.</p>

Lorem ipsum dolor sit

Consectetur elit.

Table 6.11 — Italic text examples

⬆️ Top


6.5.      Emphasis with bold and italics

Any text can be made both bold and italic by surrounding it with three asterisks (***) i.e.


MARKDOWN    GITHUB OUTPUT
This is both ***bold and italic***

This is both bold and italic

Figure 6.13 — Bold and italic text

Bold and Italic text can carry over between lines:


MARKDOWN    GITHUB OUTPUT
This is normal ***the rest of the line is in bold and italics

And so is this.***

This is normal the rest of the line is in bold and italics

And so is this.

Figure 6.14 — Bold and italic text across lines

It’s possible to split where bold and italic occur:


MARKDOWN    GITHUB OUTPUT
This is **bold *bold and italics* just bold**

This is *italics **bold and italics** just italics*

This is bold this is bold and italic just bold

This is italics this is bold and italics just italics

Figure 6.15 — Variations of bold and italic

Three underscores can be used in exactly the same way as three asterisks:


MARKDOWN    GITHUB OUTPUT
This is both ___bold and italic__

This is both bold and italic

Figure 6.16 — Bold and italic text using underscores

Caution

DO NOT USE UNDERSCORES FOR BOLD AND ITALIC.

The use of underscore characters in the middle of a word is misinterpreted by some Markdown applications, don’t use underscores, always use asterisks.

⬆️ Top

6.5.1       Markdown rules for bold with italics


   ❶  Surround the text that is to be in bold and italics with three asterisks (\*\*\*) before and after
   ❷  Do not use underscores (always use asterisks)
   ❸  Bold and italics text can span lines
   ❹  Bold and italics can be nested
Table 6.12 — Markdown rules for bold and italics

⬆️ Top

6.5.2    Bold with italic text examples


MARKDOWN HTML GITHUB OUTPUT
Lorem ***ipsum*** dolor <p>Lorem.<strong><em>ipsum</em></strong> dolor</p> Lorem ipsum dolor

Lorem ***ipsum dolor

Consectetur*** elit.

<p>Lorem.<strong><em>ipsum dolor</em></strong></p><p>
<strong><em>Consectetur</em></strong> elit.</p>

Lorem ipsum dolor

Consectetur elit.

Table 6.13 — Bold and italic text examples

⬆️ Top


6.6.      Emphasis with underlining

There is no direct support for underlining text in Markdown (nothing with asterisks or underscores), but it can be achieved with the use of the HTML inset tag: <ins></ins> or the or the underline tag: <u></u>💠1tag.


MARKDOWN    GITHUB OUTPUT
The next word is <ins>underlined</ins>
    or
<p>Lorem.<u>ipsum</u> dolor sit</p>

The next word is underlined

Figure 6.17 — Underlined text

Unlike bold and italics, underlining cannot carry over between lines. Each line must be underlined individually


MARKDOWN    GITHUB OUTPUT
This is not underlined <u>the rest of the line is</u>

<u>And so is this.</u>

This is not underlined the rest of the line is

And so is this.

Figure 6.18 — Underlined text across lines

Caution

Although both <u> and <ins> work in Wiki .md files, they do not work in repository Markdown files (for example the README.md file). Consequently, for compatibility, I recommend using the <ins> in place of <u>.



Note

💠1 Both <u> and <ins> tags underline the text. The difference between the tags is purely semantic, <ins> tells the browser that the content has been inserted after the site was first published (it has textual significance), <u> simply means that the text is underlined (for visual emphasis) and has no specific meaning in terms of textual content.

⬆️ Top

6.6.1       Markdown rules for underlining


   ❶  The first rule is don’t underline things. Ever! Underlined text can be confused as a link, plus it just looks bad
   ❷  Use a <ins> before the text that is to be underlined and a </ins> at the end
   ❸  <u> does not work in main repository Markdown files
   ❹  Underlining does not span blank lines
Table 6.14 — Markdown rules for underlining

⬆️ Top

6.6.2    Underlined text examples


MARKDOWN HTML GITHUB OUTPUT
Not available <p>Lorem.<ins>ipsum</ins> dolor sit</p> Lorem ipsum dolor sit
Not available <p>Lorem.<u>ipsum</u> dolor sit</p> Lorem ipsum dolor sit
Table 6.15 — Underlined text examples

⬆️ Top


6.7.      Strikethrough text

Any text can be struck through by surrounding it with a double tilde (~~) i.e.


MARKDOWN    GITHUB OUTPUT
The next word has been ~~struck through~~

The next word is struck through

Figure 6.19 — Strikethrough text

Unlike bold and italics, strikethrough cannot carry over between lines. Each line must be struck through individually


MARKDOWN    GITHUB OUTPUT
This is not struck through ~~the rest of the line is~~;

~~And so is this.~~

This is not struck through the rest of the line is

And so is this.

Figure 6.20 — Strikethrough text across lines

Strikethrough can also be achieved with the use of the HTML tags: <del></del> or <s></s>💠2.

Note

💠2 Both <s> and <del> tags strikethrough the text. The difference between the tags is purely semantic, <del> tells the browser that the content has been removed after the site was first published (it has textual significance), <s> simply means that the text has been struckthrough and has no specific meaning in terms of textual content.

⬆️ Top

6.7.1       Markdown rules for strikethrough


   ❶  Surround the text that is to be in struck through with two tildes (~~) before and after
   ❷  Strikethrough text cannot span lines
Table 6.16 — Markdown rules for strikethrough

⬆️ Top

6.7.2    Strikethrough text examples


MARKDOWN HTML GITHUB OUTPUT
Lorem ~~ipsum~~ dolor sit <p>Lorem.<s>ipsum</s> dolor sit</p>
    or
<p>Lorem.<del>ipsum</del> dolor sit</p>
Lorem ipsum dolor sit
Table 6.17 — Strikethrough text examples

⬆️ Top


6.8.      Horizontal rules

Horizontal rules are thick, grey lines that span a Markdown page indicating some form of break.

Horizontal rules are created using three or more asterisks (***), dashes (---) or underscores (___). That said, the best way to create a horizontal rule is to use the <hr> tag, this has become the standard.

Caution

If using three dashes, make sure it is surrounded by blank lines, if there is any text on the line immediately above, it will be turned into a heading (see section xxx)

The following are all horizontal rules


MARKDOWN    GITHUB OUTPUT
***

---
            
___

<hr>


            
Figure 6.21 — Horizontal rule

This is what it looks like on a Wiki page (below):


⬆️ Top

6.8.1       Markdown rules for horizontal lines


   ❶  Use the <hr> tag for horizontal rules
   ❷  Always put a blank line before and after the <hr>
Table 6.18 — Markdown rules for horizontal lines

⬆️ Top

6.8.2    Horizontal Rule examples


MARKDOWN HTML GITHUB OUTPUT
***
            
---

___

<hr>
<hr>
            


            
Table 6.3 — Horizontal rule example




Wiki contentsSpacer

Previous page Previous chapter Home Next chapter Next page
   Home

       The GitHub Wiki
       What does this guide cover?
       A note by the Author

     CaseNotes

   Licence

       The licences and other details
       The Licence
       Why did I choose the MIT Licence?
       Permissive licences
       Copyleft licence
       Limiting liabilities
       Which licence to use?
       A note on spelling: licence or license

1    Introducing the GitHub Wiki

   1.1      What are GitHub Wiki pages?
   1.2      Understanding the Wiki pages
   1.3      Creating a Wiki for a repository
   1.3.1     Creating the first Wiki page
   1.3.2     Creating additional pages
   1.3.3     Editing a Wiki page
   1.4      The Wiki is its own repository
   1.4.1     Viewing a Wiki page history
   1.4.2     How GitHub handles Wiki branche
   1.4.3     The Wiki link to the main repository
   1.5      Basic components of a Wiki page
   1.5.1     Title bar and revision
   1.5.2     Contents (pages) area
       Listing pages in the order you want
   1.5.3     Sidebars
   1.5.4     Footers
   1.6      Sidebars and footers
   1.6.1     Creating a sidebar and footer

2    Cloning a Wiki

   2.1      Why clone a Wiki?
   2.2      How to clone a Wiki
   2.3      Pushing local changes to GitHub
   2.3.1     Configuring username and email
   2.3.2     Modifying the local repository
   2.3.3     Committing and synchronising

3    A Wiki folder structure

   3.1      The default arrangement
   3.2      Create a sidebar or footer locally
   3.3      Page naming and Wiki limits
   3.3.1     Supported file types
   3.3.2     Page names and numbering
   3.3.3     Rules for page numbering
   3.3.4     Limits for Wiki pages
   3.4      A Practical Wiki folder structure
   3.4.1     Subfolder names for Wiki pages
   3.4.2     Storing images and other data

4    Different sidebars and footers

   4.1      How sidebars work
   4.1.1     The PracticalSeries sidebar
   4.2      How footers work
   4.2.1     The PracticalSeries footer

5    Markdown, GitHub Markdown and HTML

   5.1      Some useful Markdown sites
   5.2      An overview of Markdown
   5.3      How Markdown works
   5.4      Markdown flavours
   5.4.1     GitHub Flavoured Markdown (GFM)
   5.5      HTML and Markdown
   5.5.1     HTML with GFM
       GFM blacklisted HTML tags
       GFM whitelisted HTML tags
       GFM HTML tags - the grey area
       GFM whitelisted HTML attributes
   5.5.2     PracticalSeries and Markdown
   5.6      Markdown difference between files

6    Basic Markdown and text formatting

   6.1      Body text and fonts
   6.1.1     Body text responsive design
   6.1.2     Body text in sidebars and footers
   6.1.3     Rules for body text
   6.1.4     Body text examples
   6.1.5     Alignment of Body text
       Left aligned text (default)
       Right aligned text
       Centred text
       Justified text
   6.1.6     Body text propertie
   6.2      Paragraphs and line breaks
   6.2.1     Forced line break
   6.2.2     Blank line and a line break
   6.2.3     Trailing space line break
   6.2.4     Paragraph and line break rules
   6.2.5     Paragraph and line break examples
   6.3      Horizontal line
   6.3.1     Rules for horizontal lines
   6.4      Emphasis with bold
   6.4.1     Rules for bold
   6.4.2     Bold text examples
   6.5      Emphasis with italics
   6.5.1     Rules for italics
   6.5.2     Italic text examples
   6.6      Emphasis with bold and italics
   6.6.1     Rules for bold and italics
   6.6.2     Bold and italic text examples
   6.7      Emphasis with underlining
   6.7.1     Rules for underlining
   6.7.2     Underlining text examples
   6.8      Emphasis with strikethrough
   6.8.1     Rules for strikethrough
   6.8.2     Strikethrough text examples
   6.9      Superscript and subscript
   6.9.1     Rules for superscript and subscript
   6.9.2     Superscript and subscript examples
   6.10    Headings
       Alternatives for heading 1 and 2
   6.10.1   Headings Markdown rules
   6.10.2   Heading properties

7    Special characters and escaping characters

   7.1      Escape characters and codes
   7.1.1     Markdown escape sequences
   7.1.2     HTML escape sequences
   7.1.3     Decimal and hexadecimal codes
       Hexadecimal escape codes
   7.2      Special space characters
   7.2.1     Escape sequence restrictions
   7.3      Emojis and emoticons
       A note by the Author about emojis
   7.4      Comments

8    Block quotes, lists and alerts

   8.1      Block quotes
   8.1.1     Nested block quotes
   8.1.2     Adding other elements
   8.1.3     Rules for block quotes
   8.2      Unordered (unnumbered) lists
   8.2.1     Nested unordered lists
   8.2.2     Type of bullet point
   8.2.3     Indents and spacing
   8.2.4     Numbers in an unordered list
   8.2.5     Adding paragraphs
   8.2.6     Adding other elements
   8.2.7     Rules for unordered lists
   8.3      Ordered (numbered) lists
   8.3.1     Starting at a different number
   8.3.2     Nested ordered lists
   8.3.3     Type of numbering
   8.3.4     Indents and spacing
   8.3.5     Adding paragraphs
   8.3.6     Adding other elements
   8.3.7     Rules for ordered lists
   8.4      Mixing ordered and unordered lists
   8.5      Task lists (check boxes)
   8.5.1     Nested task lists
   8.6      Alerts
   8.6.1     Rules for alerts

9    Links

   9.1      Link to an external web page
   9.1.1     A direct link to a URL
   9.1.2     A link using substitute text
   9.1.3     A link using tooltips
   9.2      Link to another page in the Wiki
   9.2.1     Rules for linking to a Wiki page
   9.3      Link to headings on current page
   9.3.1     Converting a heading to a link
   9.3.2     An example of a heading link
   9.3.3     Heading link with tooltips
   9.4      Link to headings on a different page
   9.4.1     An example of a heading link
   9.5      Link to a named element
       A note by the Author
   9.5.1     Link to a point on another page
   9.6      Downloading a file
   9.6.1     The download attribute
   9.6.2     Spaces in filenames
   9.6.3     Downloading a .md file
   9.7      Reference style links
   9.8      Relative links
   9.8.1     Relative links from any Wiki page

10  Tables

   10.1    Markdown tables
   10.1.1   Horizontal alignment
   10.1.2   Table construction
   10.1.3   Vertical line breaks and alignment
   10.1.4   Making columns wider
   10.1.5   Other elements in a table
   10.1.6   Markdown table restrictions
   10.2    HTML tables
   10.2.1   A basic HTML table
   10.2.2   Aligning a table on a page
   10.2.3   Text wrap and side-by-side tables
       What this means in practice
       The problem with the align attribute
       How to stop text wrapping
   10.2.4   Setting the width of a table column
   10.2.5   Setting the height of a table row
   10.2.6   Horizontal alignment
   10.2.7   Vertical alignment
   10.2.8   Spanning columns and rows
   10.2.9   Table border
   10.2.10   Giving a table a navigable name
   10.2.11   Additional HTML tags

11  Images

   11.1    Markdown images
   11.1.1   Image size in Markdown
   11.1.2   Making the image a link
   11.1.3   Drag and drop image link
       A note by the Author
   11.2    HTML images
   11.2.1   A basic HTML image
   11.2.2   Image size in HTML
   11.2.3   Horizontal alignment
   11.2.4   Making the image a link
   11.2.5   Using a table to contain an image
   11.3    Forcing an image refresh
   11.4    Using a spacer image
   11.5    Mermaid diagrams
   11.5.1   Inserting a Mermaid diagram
   11.5.2   The rendered Mermaid diagram
   11.5.3   Supported version of Mermaid
   11.6    Interactive maps
   11.7    3D models

12  Contents (collapsible) and footnotes

   12.1    A basic table of contents
   12.2    Understanding the space characters
   12.3    Collapsible content
   12.3.1   Defaulting to open
   12.3.2   Markdown restrictions
   12.4    Collapsible TOC
   12.5    TOCs in tables
   12.6    Footnotes

13  Code fragments

   13.1    Inline code
   13.2    Code blocks
   13.2.1   Preferred mechanism
   13.3    Syntax highlighting
   13.3.1   Supported languages
   13.4    HTML code fragments
   13.4.1   Converting HTML to code

14  Mathematical formulae

   14.1    An overview of LaTex
   14.2    Inserting an inline formula
   14.2.1   Alternative delimiter
   14.3    A formula block
   14.4    Some example formulae
   14.5    LaTeX syntax
   14.5.1   Greek lowercase
   14.5.2   Greek uppercase and Hebrew
   14.5.3   Mathematical constructions
   14.5.4   Variable sized delimiters
   14.5.5   Variable sized symbols
   14.5.6   Variable sized symbols with limits
   14.5.7   Standard functions
   14.5.8   Operators and relational symbols
   14.5.9   Arrows
   14.5.10   Other symbols
   14.5.11   Accents
   14.5.12   Matrices
   14.5.13   Cases
       Aligning multiple equations
   14.5.14   Text formatting
       Font size
       Font colour
       The text command
       Font restrictions
   14.6    Abusing LaTeX
   14.6.1   Changing font colour with LaTeX

15  Navigation bars, badges and buttons

   15.1    Navigation bars
   15.1.1   Navigation bar practicalities
   15.2    Badges
   15.2.1   Creating a badge
   15.2.2   Static badge options
   15.2.3   Dynamic badges
   15.3    Buttons

16  PracticalSeries Wiki conventions

   16.1    The PracticalSeries Wiki page
   16.2    The PracticalSeries folder structure
   16.2.1   The root folder and home page
   16.2.2   Leading pages
   16.2.3   .gitkeep files
   16.2.4   Folder and Markdown file names
       Wiki pages that start at a section
   16.3    The page title area
   16.4    The page heading area
   16.4.1   Top of page marker
   16.4.2   Logo image
   16.4.3   Web ID badge
   16.5    Main body area
   16.5.1   Common page elements
       End of page marker
       End of section elements
   16.5.2   Headings
       Compensating for number widths
       Appendices headings
   16.5.3   Tables
       Links to a table
       A note on Markdown tables
   16.5.4   Images
       Images that open in a new tab
       Double images
       Links to a figure
   16.5.5   Lists
       Common points for all lists
       Basic unordered list
       Basic ordered list
       Mixed ordered and unordered lists
       Enhanced mixed lists
       Index list
       Reverse index list
       Index list with text wrap
       Reverse index list with text wrap
       Indexed, mixed list
       Reverse indexed, mixed list
       Task list
       Enhanced task list with observations
   16.5.6   Code fragments
   16.5.7   Formulae
       Standard formulae
       Alternate formulae
   16.6    Sidebar
   16.6.1   sidebar files and locations
   16.6.2   Sidebar title and location badge
   16.6.3   Navigation bar
   16.6.4   Table of contents
       Unnumbered, non-collapsible TOC
       Unnumbered, collapsible TOC
       Single digit, collapsible TOC
       Double digit, collapsible TOC
       TOCs for appendices
   16.6.5   End of page link
   16.7    Footer
   16.7.1   Footer files and locations
   16.7.2   Location badge
   16.7.3   Navigation bar
   16.7.4   Colophon
   16.7.5   Links and contacts

17  Managing a Wiki

   17.1    Revision control
   17.1.1   Managing commits
   17.2    Finding the first Wiki commit
   17.3    Rebasing the Wiki
   17.3.1   Summarising the rebase process
   17.3.2   Executing the rebase process
   17.4    Wikis and search engine visibility


Appendices
A    Unicode and HTML escape

   A.1     HTML Escape codes, full list
   A.2     Non-functional escape sequences

B    Full list of all emoji characters

   B.1      Emojis, a brief explanation
   B.1.1     Emoji short names
   B.1.2     Emoji escape codes
   B.1.3     Emoji variations
   B.1.4     Emoji numbers
   B.2      Emojis characters by category
       Smileys and emotion
       People and body
       Component
       Animals and nature
       Food and drink
       Travel and places
       Activities
       Objects
       Symbols
       Flags
   B.3      Emoji characters by Unicode

C    Segoe UI full character set

       A note by the Author
   C.1     Inserting Unicode characters
   C.2     Characters U+00000 to U+00FFF
   C.3     Characters U+01000 to U+01FFF
   C.4     Characters U+02000 to U+02FFF
   C.5     Characters U+03000 to U+09FFF
   C.6     Characters U+0A000 to U+0AFFF
   C.7     Characters U+0B000 to U+0FFFF
   C.8     Characters U+10000 to U+10FFF
   C.9     Characters U+11000 to U+11FFF
   C.10   Characters U+12000 to U+12FFF
   C.11   Characters U+13000 to U+15FFF
   C.12   Characters U+16000 to U+1CFFF
   C.13   Characters U+1D000 to U+1EFFF
   C.14   Characters U+1F000 to U+3FFFF

D   3D Model of a Sierpinski cube

       3D Sierpinski cube

E    Template

       COMMENT FIELDS
       HEADINGS
       TABLES
       FIGURES
       LISTS
       TASK LISTS
       CODE FRAGMENT
       FORMULAE
       LINKS
       BUTTONS
       ALERTS
       COLOURED TEXT
       INDEX NUMBERS
       END OF SECTION
       FOOTNOTE
       END OF PAGE

⬇️ End of page

Clone this wiki locally