Created
March 3, 2013 09:32
-
-
Save matze/5075461 to your computer and use it in GitHub Desktop.
Improved HTML output with Typogruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'typogruby' | |
module Jekyll | |
class MarkdownConverter < Jekyll::Converter | |
def convert(content) | |
setup | |
return Typogruby.improve(Maruku.new(content).to_html) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get this to work in the current Jekyll I had to change it to this: