Skip to content

Instantly share code, notes, and snippets.

@jrep
Created July 24, 2014 00:48
Show Gist options
  • Save jrep/4d2d4fd4fe3450ff88d9 to your computer and use it in GitHub Desktop.
Save jrep/4d2d4fd4fe3450ff88d9 to your computer and use it in GitHub Desktop.
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