Wednesday 11 May 2016

[Tip] Highlighting Code snippets

The below is a nice code for highlighting code snippets.

<style>
pre code {
  display: block; 
  overflow: scroll; 
  -webkit-overflow-scrolling: touch;
  padding: 0 0.5em 1em;
  border-radius: 0.5em;
  background-color: #1b2426;
  color: #4CAF50;
}
</style>