Skip to content

Instantly share code, notes, and snippets.

@renaehodgkins
Created January 20, 2012 00:09
Show Gist options
  • Save renaehodgkins/1643907 to your computer and use it in GitHub Desktop.
Save renaehodgkins/1643907 to your computer and use it in GitHub Desktop.

The html code snippet below is being stylized just with ````html (github flavored markdown allows to define a code snippet with four back ticks). Even though redcarpet renders the following correctly, coderay isn't adding style to it as html in my application.

<html>
  <head></head>
  <body>
    <div id='header'>
      <a href='#'>Rocky Road Blog</a>
    </div>
    <div id='main'>
      <div id='post-list'>
        <div class='post'>
          <!-- blog post goes here -->
        </div>
      </div>
    </div>
    <div id='footer'>
      <p>Copyright 2011 RockyRoadBlog. All rights reserved</p>
    </div>
  </body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment