viewing revision from 3 years ago

WIKI TOOLS

-

commenting

viewhistorytalk



WIKI LIST

Commenting

This page contains some of the more common issues, tips, tricks, and Markdown code formatting usages when sharing comment or wiki content. For a complete list of all formatting usages, you may read the Reddit Markdown Primer or Comment Formatting.

See also: https://www.redditsecrets.com/reddit-formatting-help/

▶ To see how anything on this page is actually coded you can "edit" at the top or "view source" at the bottom right. ◀

Reading

SaidIt uses threaded comments — replies to comments are indented below it.

On the left click the [-] to collapse a branch or entire comment tree.

On the left click the [+] to expand a branch or entire comment tree.

Comments

You may post comments on SaidIt posts and read comments other people have shared. You may even vote on them! Like the posts, comments will rise and fall in the rankings as users vote on them. The more votes you earn, the higher your Comment Karma grows.

Formatting

You may format your comments using the Markdown syntax, exemplified in this quick reference table:

you type: you see:
*italics* italics
_italics_ italics
**bold** bold
__bold__ bold
***bold italics*** bold italics
**_bold italics_** bold italics
___bold italics___ bold italics
super^script superscript
~~strikethrough~~ strikethrough
(4 spaces or tab)preformatted text
Requires a blank line between the code and
any normal text above. For a working
example outside of this table see below:
"Start Lines With Spaces"
preformatted text
`preformatted text` preformatted text
blah `inline code text` blah blah inline code text blah
[saidit!](https://saidit.net) saidit!
\[saidit!](https://saidit.net) [saidit!](https://saidit.net)
\*escape formatting syntax sorta* *escape formatting syntax sorta
\*escape formatting syntax sorta\* \escape formatting syntax sorta*
\**escape formatting syntax sorta** *escape formatting syntax sorta
\**escape formatting syntax sorta\** \escape formatting syntax sorta\*
This sentence is^partly superscripted. This sentence ispartly superscripted.
This sentence is^(partly superscripted.) This sentence ispartly superscripted

Superscripted text can also be enclosed in parentheses. Text inside the parentheses can include spaces and text after the closing parenthesis will not be superscripted, even if not separated by a space:

This table can also be accessed from any comment box by clicking the "formatting help" link.

For more advanced syntax options, see the Official Markdown Syntax.


An issue affects links with special characters in the URL, as are often on Wikipedia and similar websites.

To link to:

http://en.wikipedia.org/wiki/Pica_(disorder)

Escape the problematic characters ( and ) by adding backslashes in front of each:

http://en.wikipedia.org/wiki/Pica_\(disorder\)

Applied to named links:

[Pica (disorder)](http://en.wikipedia.org/wiki/Pica_\(disorder\))

Will display as:

Pica (disorder)

Line Breaks Using A Double Space

Individual line breaks are ignored, so if you type:

This is one line and_
this is another line

It displays without line break:

This is one line and this is another line

To display a line break in your post, add two spaces (shown as underscores) at the end of the first line:

This is one line and__
this is another line

It displays a line break:

This is one line and
this is another line

Or use a double line break to start a new paragraph.

Inserting A Blank Line Using A Dash

After a blank line:

  1. line 1
  2. line 3

A small gap displays as:

line 1

line 3

After a blank line, a line with just a single dash with no spaces:

  1. line 1
  2. -
  3. line 4

Will create a larger gap omitting the dash:

line 1

line 4

After a blank line, a line with a dash followed by a space (shown as underscore):

  1. line 1
  2. -_
  3. line 4

Will create a bullet instead of a line gap, without line break:

line 1

  • line 4

After a blank line, a line with a dash followed by a space (shown as underscore) followed by another blank line:

  1. line 1
  2. -_
  3. line 5

Will create a bullet instead of a line gap, with a line break:

line 1

line 5

Inserting A Blank Line With  

NBSP = Non-Breaking SPace, the equivalent of a space but without wordwrap

To insert a blank line, use the double space line break mentioned above, with   followed by two spaces (all shown below as underscores) on the following line, then the next line:

  1. First line__
  2. &__
  3. Third line

Displays as:

First line
 
Third line

Without the double spaces:

  1. First line
  2. &
  3. Third line

Displays as:

First line   Third line

For more space:

  1. First line__
  2.  __
  3. Fifth line

Displays as:

First line

 

Fifth line

For much more space:

  1. First line__
  2. -
  3.  __
  4. -
  5. Seventh line

Displays as:

First line

 

Seventh line

For as much space as you want:

  1. First line__
  2.  __
  3.  __
  4.  __
  5.  __
  6.  __
  7.  __
  8.  __
  9.  __
  10. Tenth line

Displays as:

First line
 
 
 
 
 
 
 
 
Tenth line


Tables

You can create a table by organizing pipes (|), hyphens (-) and text within a particular syntax.

Column A | Column B | Column C
---------|----------|----------
A1 | B1 | C1
A2 | B2 | C2

Displays this:

Column A Column B Column C
A1 B1 C1
A2 B2 C2

To change the alignment of the elements in a column, add a colon (:) to the left side, right side, or both sides of the appropriate set of hyphens on the second line.

Column L | Column C | Column R
:--------|:--------:|---------:
A1 | B1 | C1
A2 | B2 | C2

Displays this:

Column L Column C Column R
A1 B1 C1
A2 B2 C2

Note that in both cases, only one hyphen is needed between the pipes on the second line, and no spaces are needed to separate table elements from pipes on the third and fourth lines. Adding multiple hyphens and spaces may be useful for clarity, but they will not affect the final layout.

Lines with table syntax can be preceded with pipe characters, but this is entirely optional.

Be warned: pressing enter twice and putting blank lines between lines with table syntax will break table formatting.

HTML Wiki Tables

<table class='wiki'>
<tr>
<td>cell A</td>
<td>cell B</td></tr>
<tr >
<td>cell C</td>
<td>cell D</td></tr>
</table>

Displays this:

cell A cell B
cell C cell D


Line-Starting Characters

Line-starting characters are critically important.

Three dashes --- alone on a line will create a dividing line across the page.

Start Quoted Lines: > Greater-Than

> A fine quote displays as:

A fine quote

Start Bullet Lines: * Asterisk / - Dash

* A fine bullet displays as:

  • A fine bullet
  • Another bullet line follows like this, made with an asterisk
    • A bullet line with a space in front of the * asterisk indents it further
    • A bullet line with two spaces in front of the * asterisk makes no difference

- A fine bullet displays as:

  • A fine bullet
  • Another bullet line follows like this, made with a dash
    • A bullet line with a space in front of the dash indents it further
    • A bullet line with two spaces in front of the dash makes no difference

Numbering

If a number is followed by a period at the beginning of a line, Markdown interprets it as a numbered list and always starts at one.

2020. What a year. problematically displays:

  1. What a year.

2020\. What a year. is the solution to display:

2020. What a year.

Start Numbered Lines: 1. Number & Period

1. A fine bullet displays as:

  1. A fine bullet
  2. Another bullet line follows like this, made with a 5. but is auto numbered
    1. A bullet line with a space in front of the 3. indents it further
    2. A bullet line with two spaces in front of the 2. makes no difference

Meanwhile if you replace just the period "." with a bracket ")" to display:

1) A fine bullet 5) Another bullet line follows like this, made with a 5) but is auto numbered 3) A bullet line with a space in front of the 3) indents it further 2) A bullet line with two spaces in front of the 2) makes no difference

Because there were no line breaks it all clumped together. To correct this we'll add two spaces at the end each line, and show all the key spaces as underscores:

1) A fine bullet__
5) Another bullet line follows like this, made with a 5) but is auto numbered__
_3) A bullet line with a space in front of the 3) indents it further__
__2) A bullet line with two spaces in front of the 2) makes no difference__

To display:

1) A fine bullet
5) Another bullet line follows like this, made with a 5) but is auto numbered
3) A bullet line with a space in front of the 3) indents it further
2) A bullet line with two spaces in front of the 2) makes no difference

Start Lines With Spaces

Spaces in front of non-bullet lines are ignored - until you add 4 spaces to preformat text.

____4 spaces before this sentence will display a tiny indent and preformatted non-word-wrap text, spreading across the width of the page no matter how short or long and will create a horizontal scroll bar if maximum width is exceeded:

4 spaces before this sentence will display a tiny indent and preformatted non-word-wrap text, spreading across the width of the page no matter how short or long and will create a horizontal scroll bar if maximum width is exceeded

Some normal formatted text without 4 spaces before it to break up the preformatted text mode for this next short example:

4 spaces + short text = still crosses the page

Start Title Lines: # Hash

Starting lines with a "#" hash or number symbol make them titles of sections or subsections. A space after the hash before the title is optional.

Two hashes starting a line is an alternative and the same as a line of title text followed by the next line of all --- dashes underlining, as all the titles on this page.

That large spaces above and below the titles cannot be edited in Markdown but can be adjusted with CSS.

#One hash shows:

One hash

# Two hashes shows:

Two hashes

### Three hashes shows:

Three hashes

####Four hashes shows:

Four hashes

##### Five hashes shows:

Five hashes
Six hashes (all caps regardless)
# Seven hashes (same as 6+1)
## Eight hashes (same as 6+2) etc...


Underline Titles

The "Underline Titles" immediately above was created with this:

Underline Titles
==========

Underline Titles

The "Underline Titles" immediately above was created with this:

Underline Titles
-----------------


▶ To see how anything on this page is actually coded you can "edit" at the top or "view source" at the bottom right. ◀




revision by JasonCarswell— view source