Ask coding questions

← Back to all posts
MarkDown
WilliamXing (43)

How do you type code using Mark down?

Answered by SameeraMurthy (110) [earned 5 cycles]
View Answer
Comments
hotnewtop
SameeraMurthy (110)
To create a short code use a backtick " ` "
To make a block of code, ` ` `.
If you want to have a custom language, ` ` ` + the language name.

For Example: Use Three Backticks + python:
` ` `python
print("Hello")
` ` `

Note: Remove the spaces between the `

Please remove the spaces I put between the `

WilliamXing (43)
while (k === True) {
console.log("pizza")
SameeraMurthy (110)
@WilliamXing it isnt a ' its a `
Coder100 (16985)

```
but can you do THIS?
```

Wumi4 (486)
To make code, use 1 backtick. ("`")
To make code block, use 3 backticks.