<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Rakefile.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1,2 @@
 .DS_Store
+content.html</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 ### markdownorial
 
-Quickly turn any Markdown file into a fully functional, and awesome, tutorial with a table of contents.
+Quickly turn any Markdown file into a fully functional tutorial with an awesome table of contents.
 
 ### Installation
 
@@ -10,8 +10,8 @@ If you haven't yet checked out the source do so with:
     
 Then to work with it:
 
-  * to be determined
-
+  * edit the `content.markdown` Markdown file with your content.
+  * when you're set run `rake` to generate the html file.
 
 ### Contact Info
 </diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,6 @@
 			var level = 2;
 			$('h2, h3')
 				.css('cursor','pointer')
-				.click(function() { window.location.hash = $(this).attr('id'); })
 				.hover(function() { $(this).append('&lt;span class=&quot;hash&quot;&gt;&amp;nbsp;#&lt;\/span&gt;') },
 				       function() { $(this).find('span').remove() } )
 				.each(function() {
@@ -41,8 +40,10 @@
 						level = 2; toc += '&lt;\/ul&gt;&lt;\/li&gt;';
 					}
 					var $elem = $(this);
+					$elem.attr('id', '_' + $elem.text().toLowerCase().replace(/\W+/g,'_') );
 					toc += '&lt;li&gt;&lt;a href=&quot;#'+$elem.attr('id')+'&quot;&gt;'+$elem.text()+'&lt;\/a&gt;&lt;\/li&gt;';
-			});
+			  })
+			  .click(function() { window.location.hash = $(this).attr('id'); });
 			toc += '&lt;\/ul&gt;';
 
 			// Page Slider for the Table of Contents</diff>
      <filename>index.php</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>content.html</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>fa2c47752bde069aa2c1a6438f6fae2d49eaa286</id>
    </parent>
  </parents>
  <author>
    <name>Joseph Pecoraro</name>
    <email>joepeck02@gmail.com</email>
  </author>
  <url>http://github.com/JosephPecoraro/markdownorial/commit/8620ece1002cf1e2561e573929dbe5569c41996f</url>
  <id>8620ece1002cf1e2561e573929dbe5569c41996f</id>
  <committed-date>2009-05-16T20:31:12-07:00</committed-date>
  <authored-date>2009-05-16T20:31:12-07:00</authored-date>
  <message>Fixed Table of Contents and improved Usage (Rakefile)</message>
  <tree>1a6ddfde54f3e3d5d9acdc752c2f73a101275e94</tree>
  <committer>
    <name>Joseph Pecoraro</name>
    <email>joepeck02@gmail.com</email>
  </committer>
</commit>
