BitRadar.info

Getting Started with Programming

Code highlighted inside this post, so you can share easily code with your fellow readers.

Syntax highlighting is one strategy to improve the readability and context of the text; especially for code that spans several pages. The reader can easily ignore large sections of comments or code, depending on what they are looking for. Syntax highlighting also helps programmers find errors in their program.

JavaScript Code

[prism key=”code_snippet” language=”javascript”]

HTML Markup

This is some HTML  code to present the markup:

[prism key=”code_snippet_html” language=”markup”]

We’re using a lightweight, robust and elegant syntax highlighting plugin called Prism code highlighter WordPressto help do a good job on this.