title: Rails gem for adding text/images to site which retain the language syntax
body: <p>I want to make a <strong>blogging site</strong>. So basically, the blogs will contain <strong>posts of code snippets and other coding related stuffs</strong>.  </p>
  
  <p>So only the side admin can add posts to his blog. As he will be writing code snippets, I want to <strong>add a text-editor to rails app which will post the code with it syntax,highlight it</strong> and not just as a plain text.  </p>
  
  <p>Something like this:  </p>
  
  <p><img src="https://i.stack.imgur.com/uuGDp.png" alt="enter image description here">  </p>
  
  <p>OR  </p>
  
  <p><img src="https://i.stack.imgur.com/rXCaT.png" alt="enter image description here"></p>
  
  <p>It should support all major languages like C,C++,Ruby, Rails,Python.  </p>
  
  <p>Suggest a method/gem.</p>