adding syntax highlighting and displaying of code block
watered from upstream