Can someone teach me text formatting and the format of replying to other freecodecamp questions?

I am new to contribution in the forum, unfortunately I do not know how to format text nor do I know how people format their responses. Any advice appreciated!

Hi @Muhammad-Saif !

Are you asking about how to format your code in the forum?

If so, then this is how to do it

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like

Also, how can I include GIFs and Videos?

For videos and gifs you can use markdown syntax.

Example of a gif

Here is the markdown syntax for that gif

//basic syntax
![](link goes in here)

// for example

Same syntax for videos.

If it is just a youtube video, then you can just post the link.


Thank you very much for your insights, will surely keep all of these to note. Have a good day!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.