Discourse Formating Thread Info/Question


#1

I will use this thread and startpost to collect all the formating options i can find online or here direct in the forum. Feel free to contribute via comments when you find something



● TEXT FORMATING OPTIONS

Markdown Codes: http://commonmark.org/help/

Supported BBC Codes:

[b]strong[/b]
[i]emphasis[/i]
[u]underlined[/u]
[s]strikethrough[/s]

[quote="appo"]text[/quote]

[img]http://eviltrout.com/eviltrout.png[/img]
[url]http://bettercallsaul.com[/url]
[email]eviltrout@mailinator.com[/email]
[code]\nx++\n[/code]


● HOW TO ADD HIDE TAGS

To create a “extra box” which is just seeable when you click on it aka old hide tag
you have to put this: [details=name it how you want]
infront of your text and [details] with the / before the d to close the tag

Example:

name it how you want

“Spoiler” Tag test, not to mixup with the new Spoiler tag which blurs things



● CREATE TABLES

Source:https://meta.discourse.org/t/create-a-table-using-markdown-on-your-discourse-forum/66544

Example:

Player Win Loss Draw
appo 8 1 1
Twinblades 1 8 1

More examples and options can be found in the posted link above!
There is even a Table Generator which lets you create them easyer and gives you out the code.
http://www.tablesgenerator.com/markdown_tables



● HOW TO QUOTE SOMEONE

You can quote by either highlighting the text you want to quote and pressing the quote button

or if you click the speech bubble in the composer, it will quote the full post that you’re replying to

30%20PM



● MULTIPLE ENTER SPACES (Workaround)

There seems to be no way to add more then one Space Bar but as for now you can use this workaround, which uses a “invisible” space charackter ​ to create more then one bar Space between your Text. Just Copy ​ and post it on on as many rows as you need to be blank.

Example:

This is a test



This is a Test
This is a Test


How it looks like without the code working:

This is a test

​

​
This is a Test
This is a Test




SRK RELAUNCH - Feedback/Question Thread
#2

Using images doesn’t seem like a good workaround for the multiple newlines, wastes too many characters… and what happens if the image link stops working?

Adding an invisible space character on each newline seems marginally better, like this:
0
1

2


3



4
Here’s the copiable character U+200B aka zero-width space between these brackets: (​)


#3

thats indeed a much better workaround but either i do something wrong or the character is not showing up in
your post anymore :confused:


edit: okay i found it ​
will add it to the startpost.


#4

This thread is excellent. Good man.