InterviewSolution
Saved Bookmarks
| 1. |
Syntax Highlighting |
|
Answer» We can highlight code syntaxes using markdown by using a backtick(``) symbol before and after the code block. For multiline code formatting, we can also use 3 backticks for the purpose as illustrated in the example below.
This is an example of a `code` block. Output: This is an example of a code block.
``` Output: This is an example of multiline code block. Code Highlighting:
``` cout << x << endl; Code Highlighting with Language specified:
```C++ cout << x << endl; |
|