Markdown
2. Inline formatting
Bold and italics
Text can be made bold or italic by enclosing it in one or two asterixes.
It is best to remember that these correspond to the strong
and em
HTML tags respectively - italics are emphasized, and bold is strongly/loudly stated. As a rule, bold should be used very sparingly.
Markdown does not support underlining, as this is a typographical abomination inherited from the typewriter. In addition from a usability and accessibility standpoint, underlining is reserved for hyperlinks.
Links
To create an inline link, you enclose the link text in square brackets followed by the URL in parentheses:
Footnote-style links are slightly more organized and can improve the readability and managability of your Markdown:
You can link a URL verbatim by enclosing it in angle brackets:
Internal links
Pages internal to our site can be linked automatically by prefixing the slug for the page (the name of the page as it appears in the address of the page) with a colon:
The legislation page.
This is the recommended method of creating links, and the site attempts to automatically update such links in the event that the slug is changed.
Code
You can use a monospace font to include snippets of code or to express certain values very clearly by enclosing the text in backticks (`
, usually located below the Esc
key):
Your access code is F8595F98-E54D-11E5
.
If your snippet already contains backticks, the answer is more backticks:
Change ownership to the current user by running chown `id -u` ./
.