Hi guys,
I see more and more people pasting error messages as images on here. Though it looks great, is doesn't help for search engines.
Just past the text you're looking at, maybe in a pre formatted.
Hi guys,
I see more and more people pasting error messages as images on here. Though it looks great, is doesn't help for search engines.
Just past the text you're looking at, maybe in a pre formatted.
Discourse also has syntax hilighting out of the box as well:
import sys
def main():
print('hello world')
sys.exit(0)
if __name__ == '__main__':
main()
Suffixing the beginning triple backtick with the language you desire will do the trick.