Sha256: af639cbcbcfef793f95316e5a73184b9340df1213b3026ad05a170dae3e0fe4a
Contents?: true
Size: 285 Bytes
Versions: 14
Compression:
Stored size: 285 Bytes
Contents
module ReverseMarkdown module Converters class Img < Base def convert(node, state = {}) alt = node['alt'] src = node['src'] title = extract_title(node) " ![#{alt}](#{src}#{title})" end end register :img, Img.new end end
Version data entries
14 entries across 14 versions & 2 rubygems