Include Syntax highlighting in Code blocks like in Github

Words
118
Reading
1 min
9y
Listen to this post
~1 min

Syntax highlighting in markdown is a nice feature that makes the code snippets very easy to be grasped by the reader. This is already supported by Github and popular blogging platforms like Medium.

I think its time that utopian.io implement this feature in the contributions. Now the code blocks shows the content as plain text as below even if we specify the name of the language along with the code block when we write it.

In Editor

code.png

Currently shown as:

import os
print("Hello World")

Suggested to be shown as:

code.png

This will improve readability, especially of the tutorial and development type contributions. I would suggest it to make it part of Steemit also. Thank you.



Posted on Utopian.io - Rewarding Open Source Contributors

Include Syntax highlighting in Code blocks like in Github | Ecency