Created
November 30, 2014 10:14
-
-
Save grobmeier/f2222332ffe86dbf485c 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 "Redcarpet" | |
section = <<EOS | |
<script type="text/javascript"> | |
google_ad_client = "ca-pub-000000000"; | |
google_ad_slot = "000000000"; | |
google_ad_width = 1; | |
google_ad_height = 1; | |
</script> | |
EOS | |
markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML) | |
puts markdown.render(section) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment