Sha256: 7e1674af1b94cf308043aed755b034bb15b56f3a505a03d807e9f7bc228cb7aa
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require "redcarpet/render/seeing_is_believing/enricher" require "redcarpet/render/seeing_is_believing/options" require "redcarpet/render/seeing_is_believing/version" module Redcarpet module Render module SeeingIsBelieving def block_code(code, language) if language.start_with? "ruby+" options = Options.parse(language) enriched_code = Enricher.new(options).process(code) super(enriched_code, "ruby") else super(code, language) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redcarpet-render-seeing_is_believing-0.2.0 | lib/redcarpet/render/seeing_is_believing.rb |