<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -80,8 +80,15 @@ The best way to install Jekyll is via RubyGems:
   $ sudo gem install mojombo-jekyll -s http://gems.github.com/
 
 Jekyll requires the gems `directory_watcher`, `liquid`, `open4`, 
-and optionally `rdiscount` for markdown support. These are automatically
-installed by the gem install.
+and `maruku` for markdown support. These are automatically
+installed by the gem install command.
+
+Maruku comes with optional support for LaTeX to PNG rendering via
+&quot;blahtex&quot;:http://gva.noekeon.org/blahtexml/ (Version 0.6) which must be in
+your $PATH along with `dvips`. 
+
+(NOTE: the version of maruku I am using is `remi-maruku` on GitHub as it
+does not assume a fixed location for `dvips`.)
 
 h2. Run
 </diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@ require 'lib/jekyll'
 Hoe.new('jekyll', Jekyll::VERSION) do |p|
   p.developer('Tom Preston-Werner', 'tom@mojombo.com')
   p.summary = &quot;Jekyll is a simple, blog aware, static site generator.&quot;
-  p.extra_deps = ['RedCloth', 'liquid', 'classifier', 'rdiscount', 'directory_watcher', 'open4']
+  p.extra_deps = ['RedCloth', 'liquid', 'classifier', 'maruku', 'directory_watcher', 'open4']
 end
 
 desc &quot;Open an irb session preloaded with this library&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,2 +1,3 @@
+[ ] Easier configuration of Maruka and blahtex directories [mdreid]
 [ ] Accurate &quot;related posts&quot; calculator
 [ ] Autobuild
\ No newline at end of file</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
       s.add_runtime_dependency(%q&lt;RedCloth&gt;, [&quot;&gt;= 0&quot;])
       s.add_runtime_dependency(%q&lt;liquid&gt;, [&quot;&gt;= 0&quot;])
       s.add_runtime_dependency(%q&lt;classifier&gt;, [&quot;&gt;= 0&quot;])
-      s.add_runtime_dependency(%q&lt;rdiscount&gt;, [&quot;&gt;= 0&quot;])
+      s.add_runtime_dependency(%q&lt;maruku&gt;, [&quot;&gt;= 0&quot;])
       s.add_runtime_dependency(%q&lt;directory_watcher&gt;, [&quot;&gt;= 0&quot;])
       s.add_runtime_dependency(%q&lt;open4&gt;, [&quot;&gt;= 0&quot;])
       s.add_development_dependency(%q&lt;hoe&gt;, [&quot;&gt;= 1.8.0&quot;])
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
       s.add_dependency(%q&lt;RedCloth&gt;, [&quot;&gt;= 0&quot;])
       s.add_dependency(%q&lt;liquid&gt;, [&quot;&gt;= 0&quot;])
       s.add_dependency(%q&lt;classifier&gt;, [&quot;&gt;= 0&quot;])
-      s.add_dependency(%q&lt;rdiscount&gt;, [&quot;&gt;= 0&quot;])
+      s.add_dependency(%q&lt;maruku&gt;, [&quot;&gt;= 0&quot;])
       s.add_dependency(%q&lt;directory_watcher&gt;, [&quot;&gt;= 0&quot;])
       s.add_dependency(%q&lt;open4&gt;, [&quot;&gt;= 0&quot;])
       s.add_dependency(%q&lt;hoe&gt;, [&quot;&gt;= 1.8.0&quot;])
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
     s.add_dependency(%q&lt;RedCloth&gt;, [&quot;&gt;= 0&quot;])
     s.add_dependency(%q&lt;liquid&gt;, [&quot;&gt;= 0&quot;])
     s.add_dependency(%q&lt;classifier&gt;, [&quot;&gt;= 0&quot;])
-    s.add_dependency(%q&lt;rdiscount&gt;, [&quot;&gt;= 0&quot;])
+    s.add_dependency(%q&lt;maruku&gt;, [&quot;&gt;= 0&quot;])
     s.add_dependency(%q&lt;directory_watcher&gt;, [&quot;&gt;= 0&quot;])
     s.add_dependency(%q&lt;open4&gt;, [&quot;&gt;= 0&quot;])
     s.add_dependency(%q&lt;hoe&gt;, [&quot;&gt;= 1.8.0&quot;])</diff>
      <filename>jekyll.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -13,9 +13,20 @@ require 'time'
 require 'liquid'
 require 'redcloth'
 begin
-  require 'rdiscount'
+  require 'maruku'
+  require 'maruku/ext/math'
+  # Switch off MathML output
+  MaRuKu::Globals[:html_math_output_mathml] = false
+  MaRuKu::Globals[:html_math_engine] = 'none'
+
+  # Turn on math to PNG support with blahtex
+  # Resulting PNGs stored in `images/latex`
+  MaRuKu::Globals[:html_math_output_png] = true
+  MaRuKu::Globals[:html_png_engine] =  'blahtex'
+  MaRuKu::Globals[:html_png_dir] = 'images/latex'
+  MaRuKu::Globals[:html_png_url] = '/images/latex/'
 rescue LoadError
-  puts &quot;The rdiscount gem is required for markdown support!&quot;
+  puts &quot;The maruku gem is required for markdown support!&quot;
 end
 require 'directory_watcher'
 </diff>
      <filename>lib/jekyll.rb</filename>
    </modified>
    <modified>
      <diff>@@ -30,7 +30,7 @@ module Jekyll
         self.content = RedCloth.new(self.content).to_html
       when &quot;.markdown&quot;:
         self.ext = &quot;.html&quot;
-        self.content = RDiscount.new(self.content).to_html
+        self.content = Maruku.new(self.content).to_html
       end
     end
     </diff>
      <filename>lib/jekyll/convertible.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0e81edd064d84c1298d99aece0e480d1daddd50c</id>
    </parent>
  </parents>
  <author>
    <name>Mark Reid</name>
    <email>mark.reid@gmail.com</email>
  </author>
  <url>http://github.com/baz/jekyll/commit/b094b933011e314ac24bd62d5563d5286783918c</url>
  <id>b094b933011e314ac24bd62d5563d5286783918c</id>
  <committed-date>2008-12-14T21:17:45-08:00</committed-date>
  <authored-date>2008-12-14T21:17:45-08:00</authored-date>
  <message>Replaced rdiscount with Maruku for Markdown with equation support</message>
  <tree>2f698ceef1b205102078cce3c6b0600e19c12f0d</tree>
  <committer>
    <name>Mark Reid</name>
    <email>mark.reid@gmail.com</email>
  </committer>
</commit>
