Skip to content

07 Special characters and escaping characters

mgledhill edited this page Mar 15, 2025 · 83 revisions

PAL Logo showing Wiki Documentation heading

7SpacerSpecial characters and escaping characters

GitHub uses the Segoe UI font (pronounced seg-o-ee) as standard across all its Wiki pages (at least it does on Windows based browsers). Segoe is a large font with a very great number of characters all of which can be accessed by using escape codes.

“Escaping” a character is a term that applies to special characters that would otherwise be used to format the text in some way (asterisks for example), it allows the character to be displayed as a character rather than being interpreted as a formatting instruction.

This “escaping” process takes different forms for different languages (Markdown, HTML &c.), but always results in the true character being rendered.

This escaping process allows the full range of the Segoe UI font characters to be accessed (not just the ones that can be entered from a keyboard). Thing like this:

   ▛ ▜ ♑ ♞ ♬

There is a spreadsheet with the full Segoe UI character set here:

It’s a big list, there are 40,000 characters in it (not all of which render on GitHub, but 26,684 of them do).

These are also listed in Appendix C of this Wiki.

7.1SpacerEscape characters and character codes

Markdown has a mechanism for displaying characters that would otherwise be use to format text (asterisks for example), this mechanism is called “escaping the character”. It is also possible to use a Unicode value to display a specific character (in either decimal or hexadecimal format), plus all the HTML symbol codes (the ones that begin with an ampersand) are also supported.

7.1.1SpacerMarkdown escape sequences

With Markdown, to display a literal character (i.e. to make the character appear in the text rather than format the text), precede it with a backslash character \.

For example if the following Markdown text were used:

Markdown and GitHub output
${\large \color{#0050C0}\text{M\ A\ R\ K\ D\ O\ W\ N}}$ 🔽

* Without a backslash this is rendered as a list.

${\large \color{#B00000}\text{G\ I\ T\ H\ U\ B}\space\ \space\text{O\ U\ T\ P\ U\ T}}$ 🔽
  • Without a backslash this is rendered as a list.

Section 8 explains about lists. The point here is that if we wish to display the asterisk as an asterisk, we need to escape it (by adding a backslash):

Markdown and GitHub output
${\large \color{#0050C0}\text{M\ A\ R\ K\ D\ O\ W\ N}}$ 🔽

\* With a backslash it renders as an asterisk.

${\large \color{#B00000}\text{G\ I\ T\ H\ U\ B}\space\ \space\text{O\ U\ T\ P\ U\ T}}$ 🔽

* With a backslash it renders as an asterisk.

The following characters can all be “escaped” by placing a backslash before the character:

Character Name Escape symbol

\

Backslash

\\

`

Backtick

\`

*

Asterisk

\*

_

Underscore

\_

{ }

Braces

\{\}

[ ]

Brackets

\[\]

< >

Angle brackets

\<\>

( )

Parentheses

\(\)

#

Hash sign

\#

+

Plus sign

\+

-

Minus sign (hyphen)

\-

.

Full stop

\.

!

Exclamation mark

\!

|

Pipe

\|

Table 7.1 — Markdown escapable characters

⬆️ Top



7.1.2SpacerHTML escape sequences

Like Markdown, HTML has reserved characters, mostly the less than < and greater than signs >. These can also be escaped in HTML by using escape sequences.

There are several of these reserved characters in HTML:

Less than

<

Replacement code:

&lt;

Greater than

>

Replacement code:

&gt;

Ampersand

&

Replacement code:

&amp;

Double quotation mark

"

Replacement code:

&quot;

Single quotation mark

'

Replacement code:

&apos;

Table 7.2 — HTML reserved characters and escape sequences

HTML provides a series of escape sequences (sometimes called symbol codes) that start with an ampersand & followed by a meaningful group of characters (well, meaningful in a way, some require a degree of interpretation) and ending with a semicolon ;. For example, the escape sequence for a less than symbol < is &lt;.

Escape sequences always start with the ampersand character & and end with a semicolon ;.

Basically, HTML escape sequences are a group of characters that are translated by the browser into a specific symbol.

Whenever the browser comes across the sequence of characters &lt;, it will display a less than sign <.

There are many other HTML escape sequences for characters not accessible via the key board &mu; for example displays the Greek Mu character µ. Appendix A contains a full list of all HTML escape sequences.

All of these HTML escape sequences work in Markdown, just put them in the text and GitHub will display them correctly.

⬆️ Top



7.1.3SpacerHTML decimal and hexadecimal escape codes

The escape sequences of the previous section are one way of displaying reserved and non-keyboard characters. These escape sequences are intended to be intuitive mnemonics for the symbols they represent (that said, I usually have to look them up). The problem is that not every character has one.

It is possible to use the Unicode value of the character as an “escape code” (as opposed to an escape sequence).

Every character that can be displayed has a Unicode value (a number), specifically a value given using the Unicode transformation format-8 (UTF-8💠1). For example, the letter “A” has a Unicode value of 65, “B” 66 &c., there is a full list on Wikipedia: https://en.wikipedia.org/wiki/List_of_Unicode_characters.

Appendix C contains a spreadsheet with the full character set.

In HTML and GitHub Flavoured Markdown, any character can be entered by using its Unicode value as an escape code. HTML escape codes are preceded by the ampersand and hash characters &# and finished with a semicolon ;.

Continuing the previous example Unicode value for the letter “A” is 65 (decimal). To enter the letter “A” in HTML using an escape code, use the following:

   &#65;

GitHub Markdown accepts the use of both HTML escape sequence and escape codes.

The following tables gives a list of common escape sequence and escape codes Appendix A has a complete list of all HTML escape sequences and codes (they mostly all work in GitHub Markdown, there are some exceptions though, these are listed in section 7.2.1).

Mathematical HTML Code athematical HTML Code
× Multiplication sign &times; &#0215; Intersection &cap; &#8745;
÷ Division sign &divide; &#0247; Integral &int; &#8747;
Minus sign &minus; &#8722; Almost equal to &asymp; &#8776;
± Plus/minus sign &plusmn; &#0177; Not equal to &ne; &#8800;
Fraction slash &frasl; &#8260; Identical to &equiv; &#8801;
N-array product &prod; &#8719; < Less than &lt; &#0060;
N-array summation &sum; &#8721; > Greater than &gt; &#0062;
Square root &radic; &#8730; Less than or equal to &le; &#8804;
Infinity &infin; &#8734; Greater than or equal to &ge; &#8805;



HTML reserved
HTML Code HTML reserved HTML Code
< Less than &lt; &#0060; " Quotation mark &quot; &#0034;
> Greater than &gt; &#0062; ' Single quote &apos; &#0039;
& Ampersand &amp; &#0038;



Miscellaneous
HTML Code Miscellaneous HTML Code
Leftwards arrow &larr; &#8592; ¦ Broken vertical bar &brvbar; &#0166;
Upwards arrow &uarr; &#8593; ° Degree sign &deg; &#0176;
Rightwards arrow &rarr; &#8594; · Middle dot &middot; &#0183;
Downwards arrow &darr; &#8595; Bullet &bull; &#8226;
Left right arrow &harr; &#8596;
   


Spacing
HTML Code     Spacing HTML Code
█ █ Em space &emsp; &#8195; █ █ Space &#0032;
█ █ Number space &numsp; &#8199; █ █ Em/4 space &emsp14; &#8197;
█ █ En space &ensp; &#8194; █ █ Punctuation space &puncsp; &#8200;
█ █ Em/3 space &emsp13; &#8196; █ █ Thin space &thinsp; &#8201;
█ █ Non-breaking space &nbsp; &#0160; █ █ Hair space &hairsp; &#8202;



Currency
HTML Code Currency HTML Code
$ Dollar &dollar; &#0036; ¢ Cent sign &cent; &#0162;
£ Pound sign &pound; &#0163; ¥ Yen &yen; &#0165;
Euro sign &euro; &#0128; ¤ Curren &curren; &#0164;



Numbers
HTML Code Numbers HTML Code
¹ Superscript one &sup1; &#0185; ½ Fraction one half &frac12; &#0189;
² Superscript two &sup2; &#0178; ¼ Fraction one quarter &frac14 &#0188;
³ Superscript three &sup3; &#0179; ¾ Fraction three quarters &frac34 &#0190;



Punctuation
HTML Code Punctuation HTML Code
¡ Inverted exclamation mark &iexcl; &#0161; Horizontal ellipsis &hellip; &#8230;
¿ Inverted question mark &iquest; &#0191; Overline &oline; &#8254;
Left double quote &ldquo; &#8220; § Section sign &sect; &#0167;
Right double quote &rdquo; &#8221; Paragraph sign &para; &#0182;
Double low-9 quote &bdquo; &#8222; © Copyright sign &copy; &#0169;
Left single quote &lsquo; &#8216; ® Registered trademark sign &reg; &#0174;
Right single quote & rsquo; &#8217; Trademark sign &trade; &#8482;
Single low-9 quote &sbquo; &#8218; ¬ Not sign &not; &#0172;
Lozenge &loz; &#9674; µ Micro sign &micro; &#0181;
« Left double angle quote &laquo; &#0171; Per mille sign &permil; &#8240;
» Right double angle quote &raquo; &#0187; Prime (straight quote) &prime; &#8242;
Single left angle quote &lsaquo; &#8249; Double prime (straight quote) &Prime; &#8243;
Single right angle quote &rsaquo; &#8250; Dagger &dagger; &#8224;
En dash &ndash; &#8211; Double dagger &Dagger; &#8225;
Em dash &mdash; &#8212;



Greek small letters
HTML Code Greek capital letters HTML Code
α Alpha &alpha &#0945; Α Alpha &Alpha &#0913;
β Beta &beta; &#0946; Β Beta &Beta; &#0914;
γ Gamma &gamma; &#0947; Γ Gamma &Gamma; &#0915;
δ Delta &delta; &#0948; Δ Delta &Delta; &#0916;
ε Epsilon &epsilon; &#0949; Ε Epsilon &Epsilon; &#0917;
ζ Zeta &zeta; &#0950; Ζ Zeta &Zeta; &#0918;
η Eta &eta; &#0951; Η Eta &Eta; &#0919;
θ Theta &theta; &#0952; Θ Theta &Theta; &#0920;
ι Iota &iota; &#0953; Ι Iota &Iota; &#0921;
κ Kappa &kappa; &#0954; Κ Kappa &Kappa; &#0922;
λ Lambda &lambda; &#0955; Λ Lambda &Lambda; &#0923;
μ Mu &mu; &#0956; Μ Mu &Mu; &#0924;
ν Nu &nu; &#0957; Ν Nu &Nu; &#0925;
ξ Xi &xi; &#0958; Ξ Xi &Xi; &#0926;
ο Omicron &omicron; &#0959; Ο Omicron &Omicron; &#0927;
π Pi &pi; &#0960; Π Pi &Pi; &#0928;
ρ Rho &rho; &#0961; Ρ Rho &Rho; &#0929;
ς Sigma 1 &sigmaf; &#0962; Σ Sigma &Sigma; &#0931;
σ Sigma 2 &sigma; &#0963;
τ Tau &tau; &#0964; Τ Tau &Tau; &#0932;
υ Upsilon &upsilon; &#0965; Υ Upsilon &Upsilon; &#0933;
φ Phi &phi; &#0966; Φ Phi &Phi; &#0934;
χ Chi &chi; &#0967; Χ Chi &Chi; &#0935;
ψ Psi &psi; &#0968; Ψ Psi &Psi; &#0936;
ω Omega &omega; &#0969; Ω Omega &Omega; &#0937;
Table 7.3 — HTML common escape sequences and codes



Hexadecimal escape codes     

The escape codes listed above use decimal numbers for the Unicode characters &#65; where 65 is the decimal value of the Unicode number for “A”.

The escape codes can also be given in hexadecimal format and this will work within GitHub Markdown and Wiki pages. The hexadecimal equivalent of 65 is 41. To use the hexadecimal number in an escape code, precede it with &#x and follow it with a semicolon ;. Thus:

https://docs.github.com/en/enterprise-cloud@latest

&#65; and &#x41; both display the “A” character.

Tip

Being able to use hexadecimal notation is useful; simply because Unicode char-acters are generally given in hexadecimal format. U+0041 is Unicode for “A”.

⬆️ Top



7.2SpacerSpecial space characters

Markdown (and GitHub Markdown) ignore multiple spaces. In the following example, the two words “TEST” are separated by five spaces:

Markdown, HTML equivalence and GitHub output
${\large \color{#0050C0}\text{M\ A\ R\ K\ D\ O\ W\ N}}$ 🔽

TEST     TEST

${\large \color{#B00000}\text{G\ I\ T\ H\ U\ B}\space\ \space\text{O\ U\ T\ P\ U\ T}}$ 🔽

TEST TEST

Table 7.4 — Markdown ignores multiple consecutive spaces

Markdown simply ignores the multiple, consecutive spaces.

Markdown does not, however, ignore the non-breaking space character &nbsp;, this has exactly the same spacing as a normal space character, but will always be rendered by Markdown.

This is the same example with five non-breaking spaces between the two words “TEST”

Markdown, HTML equivalence and GitHub output
${\large \color{#0050C0}\text{M\ A\ R\ K\ D\ O\ W\ N}}$ 🔽

TEST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TEST

${\large \color{#B00000}\text{G\ I\ T\ H\ U\ B}\space\ \space\text{O\ U\ T\ P\ U\ T}}$ 🔽

TEST     TEST

Table 7.4 — Markdown does not ignore multiple consecutive non-breaking spaces

Markdown supports several such space characters; this is a full list — the spaces are bounded by full blocks to give an idea of the width of each type of space, the second column shows four of each type of space to emphasize the different relative sizes:

Single Space Four Spaces Name Escape sequence

█ █

█    █

Em space

&emsp;

█ █

█    █

Number space

&numsp;

█ █

█    █

En space

&ensp;

█ █

█    █

Em/3 space

&emsp13;

█ █

█    █

Non-breaking space

&nbsp;

█ █

█    █

Em/4 space

&emsp14;

█ █

█    █

Punctuation space

&puncsp;

█ █

█    █

Thin space

&thinsp;

█ █

█    █

Hair space

&hairsp;

Table 7.6 — Different spaces and relative widths

These different size spaces are used extensively in the PracticalSeries Wiki page headings and tables of contents to ensure that the gaps between the heading numbers and the heading text are consistent.

The size of the gap between the heading number on the left and the heading text on the right, depends on how many numbers there are (90.10.20 has six numbers, 1.2.4 only has three. Both are valid section numbers, but the first will have a smaller space between the last full stop and the heading text).

The width of each type of space depends where the space is used. The space in a heading (all headings are different) is generally larger than the same space used in body text. Similarly, if the text is in a sidebar or footer, the spacings are again different for headings and body text.

The following tables give the width in pixels of each different type of space character for all headings and body text in both the main page area and sidebars/footers (there is no difference between space sizes in sidebars and in footers, they are the same).

Space witdths in pixels for the main page

H1

H2

H3

H4

H5

H6

Body text

Em space

32.00

24.00

20.00

16.00

14.00

13.60

16.00

Number space

17.77

13.33

11.10

8.87

7.77

7.53

8.63

En space

16.00

12.00

10.00

8.00

7.00

6.80

8.00

Em/3 space

10.63

8.00

6.63

5.33

4.67

4.53

5.33

Normal space

8.80

6.60

5.47

4.40

3.87

3.73

4.37

Non-breaking space

8.80

6.60

5.47

4.40

3.87

3.73

4.37

Em/4 space

8.00

6.00

5.00

4.00

3.50

3.40

4.00

Punctuation space

7.70

5.80

4.80

3.87

3.37

3.27

3.47

Thin space

6.40

4.83

4.00

3.20

2.80

2.70

3.20

Hair space

4.00

3.00

2.50

2.00

1.77

1.70

2.00

Two blocks ██

47.00

35.00

30.00

24.00

21.00

21.00

24.00

Table 7.7 — Space widths in the main page (in pixels)

Space witdths in pixels for sidebars and footers

H1

H2

H3

H4

H5

H6

Body text

Em space

24.00

18.00

15.00

12.00

10.50

10.20

12.00

Number space

13.33

10.00

8.30

6.67

5.83

5.63

6.47

En space

12.00

9.00

7.50

6.00

5.27

5.10

6.00

Em/3 space

8.00

6.00

4.97

4.00

3.50

3.40

4.00

Normal space

6.60

4.93

4.10

3.30

2.90

2.80

3.30

Non-breaking space

6.60

4.93

4.10

3.30

2.90

2.80

3.30

Em/4 space

6.00

4.50

3.73

3.00

2.63

2.53

3.00

Punctuation space

5.80

4.33

3.60

2.90

2.53

2.43

2.60

Thin space

4.83

3.60

3.00

2.40

2.10

2.03

2.40

Hair space

3.00

2.23

1.87

1.47

1.33

1.27

1.50

Two blocks ██

35.00

27.00

23.00

18.00

16.00

16.00

18.00

Table 7.8 — Space widths in sidebars and footers (in pixels)

Note

All widths in the above tables are measured using the Edge browser with page magnification set to 100% on a monitor set to its native resolution (2560 × 1440 px).

⬆️ Top



7.2.1SpacerEscape sequence restrictions in GitHub HTML

For some reason, some HTML escape sequences do not work in GitHub Wiki Markdown.

This is true only when the escape sequences are between HTML tags, i.e. in a table <table>…</table> or between <p>…</p> tags for example.

Mainly this affects some of the special space characters:

Name Non-functional
Esc sequence
Replacement
Esc code (dec)
Replacement
Esc code (hex)

Number space

&numsp;

&#8199;

&#x2007;

Em/3 space

&emsp13;

&#8196;

&#x2004;

Em/4 space

&emsp14;

&#8197;

&#x2005;

Punctuation space

&puncsp;

&#8200;

&#x2008;

Hair space

&hairsp;

&#8202;

&#x200A;

Table 7.9 — Escape sequences that do not work in GitHub Markdown HTML

Important

This is only a partial list of the most common escape sequences, a full list is available in Appendix A.2

The alternate decimal and hexadecimal escape codes work everywhere.

Note

The above escape sequences work perfectly well with just Markdown, it is only when they are inside an HTML tag that problems occur.

To complicate things, it is only Wiki Markdown that is affected, all the escape sequences work perfectly well in repository Markdown, see section 5.6.

⬆️ Top



7.3SpacerEmojis and emoticons

Emojis and emoticons are pictograms that can be embedded in text to convey some form of emotion, smiley face symbols, that sort of thing. They are popular with teenagers and the intellectually challenged.

GitHub supports a full set of Unicode emojis and these can be pasted directly into a Wiki or Markdown page, they can be entered using short name abbreviations or they can be entered as either decimal escape codes &#…; or hexadecimal escape codes &#x…;.

There is a standard version of the short names that can be used for emojis, these are managed by the Unicode CLDR (Common Locale Data Repository), available here: https://cldr.unicode.org/.

The Unicode CLDR provides a full list of all emoji characters, their Unicode character (or string of characters) and the formal short form name, the list is available here: https://unicode.org/emoji/charts/full-emoji-list.html.

GitHub allows short names to be used, these are surrounded by a colon : before and after, thus, the crossed fingers emoji is displayed in Markdown with the short name:

   :crossed_fingers: it looks like this: 🤞

The problem with this approach is that GitHub, in its wisdom, decided not to use the standardised (Unicode CDLR) short names, it uses its own versions with slightly different names.

I thought at first this was so that GitHub could use shorter names than the standard CLDR, for example where the CLDR has the name grinning face (😀)and GitHub just has :grinning:.

This argument falls down with the CLDR: smiling face with hearts and the GitHub :smiling_face_with_three_hearts: (🥰). So I’ve no idea why GitHub have differed.

Appendix B contains a full list of all the emojis. For completeness, it shows both the GitHub short name and the standardised CDLR short name, the decimal escape code and the hexadecimal escape code.



A note by the Author about emojis     

Well, I’m an engineer and engineers in particular are not at home to emojis (we’re not generally tainted with emotion).

Engineers have only one rule for using emojis:

${\LARGE \color{#C00000}\text{DON'T\ EVER!}}$
Smiley

⬆️ Top



7.4SpacerComments

It is possible to insert comments in Markdown text.

Comments are visible in Markdown, but are not displayed when the page is rendered (on a web browser).

Comments in Markdown are identical to those in HTML.

Any text between <!-- and --> is a comment and will not be displayed:

Markdown, HTML equivalence and GitHub output
${\large \color{#0050C0}\text{M\ A\ R\ K\ D\ O\ W\ N}}$ 🔽

Comments <!-- Like this --> are not displayed

${\large \color{#00C050}\text{H\ T\ M\ L}}$ 🔽

<p>Comments <!-- Like this --> are not displayed</p>

${\large \color{#B00000}\text{G\ I\ T\ H\ U\ B}\space\ \space\text{O\ U\ T\ P\ U\ T}}$ 🔽

Comments are not displayed

Table 7.10 — Body text examples

I think I’m one of the only people who bother putting comments in their Markdown.


Footnotes:     


Note

💠1 UTF-8 is a Unicode character set that is backwards compatible with the old 7-bit ASCII char-acters that those of us of a certain age will remember. The 8 means it uses 8-bit blocks (bytes to most people, but octets in the Unicode standard) to represent characters, it can have up to 4 bytes and can represent all Unicode characters (there is a lot of them, ‘bout a million).

UTF-8 is the standard character set for web pages and E-mail.




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