#formatting

dredmorbius@diaspora.glasswings.com

I'm planning an update to my Markdown Quick Reference

I'd like to fix a few of the omissions and a couple of mis-categorisations, such as the role of the description text in images.

Other features & behaviours:

Possibly, #jq tools for recovering source code of posts and comments.

Other suggestions / additions / changes / corrections welcomed.

I'm also posting this as its own post so that the revision itself can be reshared (a quirk of reshares...).

#Markdown #quickGuide #tips #googleplus #newhere #formatting #HOWTOs #Documentation #Diaspora

dredmorbius@joindiaspora.com

Markdown Quick Reference

There are some fun things you can do with Markdown formatting.

Feature Markdown Example
italic _italic_ italic
bold **bold** bold
strikethrough ~~strikethrough~~ strikethrough
superscript ^superscript^ ^superscript^
subscript ~subscript~ ~subscript~
links [Description](https://example.com/) Description
bare links <https://www.example.com> https://www.example.com
code `code` code
escape \*escape\* *escape*

There are also:

Unordered lists:

  • Foo
  • Bar
    • Baz
    • Quz
* Foo
* Bar
  * Baz
    * Quz

Ordered lists:

  1. Foo
  2. Bar
    1. Baz
      1. Quz
1. Foo
1. Bar
   1. Baz
      1. Quz

Headers:

Header 1

Header 2

Header 3

Header 4

Header 5
Header 6
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6

Headers also:

Header 1

Header 2

Header 1
==========

Header 2
---------

Blockquote:

This is a blockquoted text passage.

You can nest your blockquotes.

Or unnest them again.

> This is a blockquoted text passage.
>> You can nest your blockquotes.
>
> Or unnest them again.

To product a code block, as above:

```
> This is a blockquoted text passage.
>> You can nest your blockquotes.
>
> Or unnest them again.
```

Or indent four spaces:

Normal text

Code block
Normal text

    Code block

Horizontal rule:


----

Image

Dummy text

![Dummy text](https://joindiaspora.s3.amazonaws.com/uploads/images/thumb_small_3059c10576ae28ec722a.jpg)

Tables:

|Feature|Markdown|Example|
|:- |:- |:- |
|italic| `_italic_`| _italic_ |
|bold| `**bold**` | **bold** |
|strikethrough| `~~strikethrough~~` | ~~strikethrough~~ |
|superscript| `^superscript^`| ^superscript^ |
|links| `[Description](https://example.com/)`|[Description](https://example.com/)|
|code|\``code`\`|`code`|
|escape|`\*escape\*`|\*escape\*|

#markdown #quickGuide #tips #googleplus #newhere #formatting

Source: https://pastebin.com/raw/HiVi5cYS