DEV Community 👩‍💻👨‍💻

GharamElhendy
GharamElhendy

Posted on

Adding Syntax Highlighting

To add a code block with the corresponding syntax highlighting

'''(ProgrammingLanguage)
Your code here
'''

So, it would look like this when you're creating the post



```python
print("Hello world")
```


And the final result would be this:

print("Hello world")
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.