Diaspora/Website
-
More code in this block,
More code in this block,
-
and a line of code indented by two spaces
and a line of code indented by two spaces
-
Horizontal line
Horizontal line
-
To create a horizontal line, use at least three - - -, _ _ _ or * * * on a separate line. Any number above three will do the same thing and spaces between the characters do not matter.
To create a horizontal line, use at least three - - -, _ _ _ or * * * on a separate line. Any number above three will do the same thing and spaces between the characters do not matter.
-
A line of text above the horizontal rule.
A line of text above the horizontal rule.
-
The start of the next section of text.
The start of the next section of text.
-
Italics and bold
Italics and bold
-
Place either asterisks or underscores either side of a word or words to make them italic, bold or bold italic.
Place either asterisks or underscores either side of a word or words to make them italic, bold or bold italic.
-
<em>Italics</em>: *word* or _word_
<em>
Italics</em>
: *word* or _word_ -
<strong>Bold</strong>: **word** or __word__
<strong>
Bold</strong>
: **word** or __word__ -
<strong><em>Bold italics</em></strong>: ***word*** or ___word___
<strong><em>
Bold italics</em></strong>
: ***word*** or ___word___ -
You must of course match the number of asterisks/underscores either side of words for the formatting to work. Typing “I want to display this as a **bold* word” won’t display the word in bold.
You must of course match the number of asterisks/underscores either side of words for the formatting to work. Typing “I want to display this as a **bold* word” won’t display the word in bold.
-
Inline links
Inline links
-
To create an %{inline_link}, use the following code:
To create an %{inline_link}, use the following code:
-
[displayed text here](http://link.address.here "alt text")
[displayed text here](http://link.address.here "alt text")
-
The “alt text” is optional, and is displayed as a tool-tip when the cursor is moved over the link.
The “alt text” is optional, and is displayed as a tool-tip when the cursor is moved over the link.
-
inline link
inline link
-
Images
Images
Kuvat -
To add external images to your post, comment or private message, use the same code as for a link, but with an exclamation point at the front:
To add external images to your post, comment or private message, use the same code as for a link, but with an exclamation point at the front:
-
![Alt text](http://website.com/image.jpg "optional title")
![Alt text](http://website.com/image.jpg "optional title")