title: how to let users post code snippets using backticks and display code using google code preetify?
body: <p>I have a forum in my website where people can ask questions and add reply, mostly about web development that includes posting <code>code</code> snippets.</p>
  
  <p>I have used forums including stackoverflow where we can use backticks to display code. How do i implement the same functionality in my site?</p>
  
  <p>here is my site : <a href="http://kaloraat.com/questions/how-to-redirect-user-after-password-reset-in-laravel" rel="nofollow">http://kaloraat.com/questions/how-to-redirect-user-after-password-reset-in-laravel</a></p>
  
  <p>Also I want to use google code prettify but i have to assign class name to each block of code using class like this <code>class="prettyprint"</code> which is impossible since I am not writting articles. Users will be posting code throught the Q&amp;A in forum.</p>
  
  <p>Is there a simple way of doing it? I would like to at least implement a feature to use backticks to display code that way i dont have to use tinymce which is not user friendly andalso might be a security risk.</p>