With the idea of writing more in 2018, being able to display code blocks that are legible and functional is important.
Adding a screenshot may well be the quickest way to display code to a post but it's not the best approach. Code can't be copied and used from a picture, so this approach is pretty much useless for the reader.
On Steemit, simply highlight the text with your cursor and hit the curly bracket ( { ) in the nav.
I've had a couple of issues with spacing when editing the code in this state so write everything in your editor of choice and paste it in as a last step.
Congratulations @notwok! You received a personal award!
Click here to view your Board of Honor
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @notwok! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit