My list of Discourse "Shortcuts" and Code (UPDATED)

V2 - UPDATED

Some of these are just showing the code behind the look. Sometimes I find it easier to just type it.

Headings

### Headings
Headings (can be # ## ### ####)

Bold
**Bold**

  • Bullets
    * Bullets
    or
    - Bullets

    • Indent Bullets
      (3 spaces)* Indent Bullets
      (3 spaces)- Indent Bullets

small
<small>small</small>

Underline
[u]Underline[/u]

Strikethrough
[s]Strikethrough[/s]

(Just showing you can combine various codes)
Underline strikethrough
[b][u][s]Underline strikethrough[/s][/u][/b]

Deleted Text - Strikethrough Highlighted Reddish
<del>Deleted Text - Strikethrough Highlighted Reddish</del>

Inserted text - Underined with Green Highlight
<ins>Inserted text - Underined with Green Highlight</ins>

Supsuperscript
<sup>superscript</sup>

Subsubscript
<sub>subscript</sub>

Trademark™
Trademark(TM)

Previously these worked similarly, but don’t seem to in here.
Copyright(R)
Copyright(C)

Keyboard Letters
B ⌥⌘C
<kbd>B</kbd> <kbd>⌥⌘C</kbd>

Unicode Characters
&#8800; ≠ - ≠
&#8457; º Degree Fahrenheit - ℉
&#8451; º Degree Celsius - ℃
&#176; º Degree - °
&euro; - €
&dollar; - $
&cent; - ¢
&infin; - ∞
&frac14; - ¼
&frac23; - ⅔
&larr; - ←
&uarr; - ↑
&rarr; - →
&darr; - ↓

Backticks… 1 single ` before and then after allows for code to display and is used in my examples. (You find this left of the number 1 for those who may not know)

More cmplicated ways for the same thing
[code]put what in here[/code]

…or for long code pastes using 3 backticks 1 line above saves putting one at the end or each line. Anything on the first line is hidden

3 Backticks 

Close with 3 more on a new line

spoiler – click the blur to see the spoiler text
[spoiler]spoiler[/spoiler]

Please add any you are aware of.

Rob

ETA - some stuff I left out

Some HTML will work too.

<ul> notice the empty line below. It is needed to allow link/code to work

indent
</ul>

My first paragraph.

My second paragraph.

<p>My first paragraph.</p>
<p>My second paragraph.</p>

- Bold text
<b> - Bold text</b>

- Important text (yeah, looks like bold)
<strong> - Important text

- Italic text
<i> - Italic text</i>

- Emphasized text (looks like italics)
<em> - Emphasized text

- Marked text
<mark> - Marked text</mark>

[quote="Oneida"]`
Quoted text
[quote]

A numbered HTML list

  1. Coffee
  2. Tea
  3. Milk
<ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol> 
13 Likes

This has to be the coolest feature

6 Likes

details = 1]

Here goes text

/details]

1

Here goes text

4 Likes

I started to include that, as it’s in my list, but it’s easier to use the image

4 Likes

Thank you, Rob!!
I’ve been trying to figureout the strikethrough for months without highlighting it, and as hard as I tried, I just couldn’t find it on google or YouTube. The blur is cool; that’s a new one for me.

5 Likes

&copy; - ©
&trade; - ™

4 Likes

OK, I added © ® and ™

(C) (R) and (TM)
3 Likes

Right, sorry. I forgot :man_facepalming:t2:
&reg; - ®

1 Like

Can we change font color in markdown here? :thinking: I know it’s not native, but neither two of the html workarounds that I found work here, either.

These have never worked for me in the past.

<font color="red">This text is red!</font>

This text is red!

Text color changes I think are disabled by default because of the effects the dark and light modes/templates can have on them

1 Like