Markdown color code block
To add a code block in markdown we use three backticks before and after the segment of code. If we want to color the code block in accordance with a particular coding language we simply need to specify it next to the three backticks:
```python
print("Hello, world!")
```
and it will result in this:
print("Hello, world!")
The coloring feature is done via a number of third-party libraries like remark-rehype so whether that will work depends on the particular editor.