Created
July 24, 2014 00:48
-
-
Save jrep/4d2d4fd4fe3450ff88d9 to your computer and use it in GitHub Desktop.
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 'jekyll' | |
require 'rmultimarkdown' | |
class Jekyll::Converters::Markdown::RpegMultiMarkdownParser | |
def initialize(config) | |
@site_config = config | |
end | |
def convert(content) | |
MultiMarkdown.new(content).to_html.force_encoding(Encoding::UTF_8) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment