This article will help you know how to use the available features of this forum to create a rich content topic.
Basic features
Toolbar
Let’s have a look in the basic toolbar when you either create a topic or reply to a topic.
![]()
It contains some basic feature for you to compose such as text styling (bold, italic), inserting a hyperlink,
blockquote
or preformatted text as well as
- bullet list
- number list
and emoji ![]()
To upload a file or image, you can simply drag and drop it into composing space and Discourse will do the rest or you also can click on the Upload button on the toolbar to upload a file from your device or from the web.
You can quote the whole post when reply by using Quote whole post tool in the toolbar, the first icon.
Have a look in Option icon at the end of the toolbar to see some extra functions such as hide detail of a post if it is too long, insert date or building poll.
Using Markdown, BBCode and HTML
In addition, you can use either markdown, BBCode or HTML tag to format the text. For example:
Markdown
**bold**to get bold_italic_ or *italic*to get italic**_italic&bold_**to get a combination of italic&bold
BBCode
[u]underline[/u]to get underline[s]strike[/s]to get strike
HTML
<ins>This text is inserted</ins>to get This text is inserted<del>This text is deleted</del>to getThis text is deleted
Other useful features of Markdown are supported in Discourse. You can see some simple example below.
Syntax highlight
Using default syntax (remove all brackets)
{```}[programming language]
{Source code}{```}
to have highlight syntax function. Example with Java:
public class NumberLimits {
public static final int MVK_MAX_DIGITS = 15;
public static double getMaxAllowedValue(final int maxDecimalPlaces) {
return Math.pow(10, (MVK_MAX_DIGITS - maxDecimalPlaces)) - Math.pow(10, (-maxDecimalPlaces));
}
}
Insert a table
By simply inputting the code
|Header 1|Header 2|Header 3|
|:-------|:------:|-------:|
|This is cell (0,0)|This is cell (0,1)|This is cell (0,2)|
|This is cell (1,0)|This is cell (1,1)|This is cell (1,2)|
|This is cell (2,0)|This is cell (2,1)|This is cell (2,2)|
|Left aligned|Center aligned|Right aligned|
A nice would be displayed
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| This is cell (0,0) | This is cell (0,1) | This is cell (0,2) |
| This is cell (1,0) | This is cell (1,1) | This is cell (1,2) |
| This is cell (2,0) | This is cell (2,1) | This is cell (2,2) |
| Left aligned | Center aligned | Right aligned |
Additional features
To mention a user in your post, please use @username like @quang-calm-slope.
If you want to link another topic to your current one, you can choose Share in the post you want to share, copy and paste the link in your post. For instance, you can paste this link https://discourse.geta12.com/t/source-code-repository/32?u=qtpngo to get
https://discourse.geta12.com/t/source-code-repository/32?u=qtpngo
This link copy & paste feature can be applied to links from other websites.
By the way, @discobot is a useful and friendly robot that could help you learn more about how to use Discourse. A greeting message would be sent to you automatically after you register an account at Discourse from him. Follow the instruction in that message, you will know how to use Discourse features properly. Please find the message either by clicking on your profile picture and choose Greetings! or clicking here (Please log in first).
Hope the supported functions are enough for you to create a well-formatted topic. If you have any further functions required, please let us know.