title: Adding Markdown into my Rails 3 app
body: <p>I am trying to add Markdown to my Rails 3 web app but am having problems.</p>
  
  <p>I have tried rdiscount and markdownizer but either they're not working or I'm not writing the correct code for them.</p>
  
  <p>The code I have at the moment to display a text field is <code>&lt;%=h simple_format (@user.desktopinfo) %&gt;</code></p>
  
  <p>I want to increase the functionality of this text by adding Markdown but I am unable to get it work, please help! :)</p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>Using markdownizer broke my app, so I am now using BlueCloth. Add <code>bluecloth</code> to the gem file and add this  <code>&lt;%= raw BlueCloth.new(@user.desktopinfo).to_html %&gt;</code></p>
  
  <p>:)</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Actually, just trying again...</p>
  
  <p>With markdownizer, with <code>markdownize! :desktopinfo</code> in the user model and <code>&lt;%= @user.rendered_desktopinfo %&gt;</code> on the page that shows the text, I get this:  <code>&lt;h1&gt;this is a h1&lt;/h1&gt;</code> on the text when I enter</p>
  
  <pre><code>this is a h1
  ============
  </code></pre>
  
  <p>so I am halfway there! How do I now turn this code into html?</p>