Diaspora/Website
-
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
Картинки -
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")
-
For this to work, you must provide a direct link to a valid image file, <em>not</em> to a web page with an image or images on it.
For this to work, you must provide a direct link to a valid image file,
<em>
not</em>
to a web page with an image or images on it. -
The alternative text in the square brackets is displayed if the image cannot be loaded, and the optional title is displayed as a tool-tip when the cursor is moved over the image; both are useful but not essential.
The alternative text in the square brackets is displayed if the image cannot be loaded, and the optional title is displayed as a tool-tip when the cursor is moved over the image; both are useful but not essential.
-
If you want your message to include a character which is also used in Markdown coding, you can prevent it from being read by Markdown as a formatting code by “escaping” it. To do this, place a backslash ( \ ) in front of the character. For example, typing
If you want your message to include a character which is also used in Markdown coding, you can prevent it from being read by Markdown as a formatting code by “escaping” it. To do this, place a backslash ( \ ) in front of the character. For example, typing
-
this \_ is an underscore
this \_ is an underscore
-
prevents Markdown from reading the underscore as a Markdown code and allows diaspora* to display the underscore rather than creating italic text.
prevents Markdown from reading the underscore as a Markdown code and allows diaspora* to display the underscore rather than creating italic text.
-
You can, however, type “diaspora*” or “D*” without the asterisk being interpreted as a formatting code!
You can, however, type “diaspora*” or “D*” without the asterisk being interpreted as a formatting code!
-
Special characters
Special characters