Sha256: d551df983b256727468b722edfe8f6abfffac64af8e262640d67f6d3ed0d861c
Contents?: true
Size: 537 Bytes
Versions: 2
Compression:
Stored size: 537 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redcarpet-render-seeing_is_believing-0.2.2 | lib/redcarpet/render/seeing_is_believing.rb |
redcarpet-render-seeing_is_believing-0.2.1 | lib/redcarpet/render/seeing_is_believing.rb |