Sha256: 82fb2e5d7fd5ac606e08ed8c60486939864f9388b76c18be9e5e1180e2e12da2
Contents?: true
Size: 320 Bytes
Versions: 1
Compression:
Stored size: 320 Bytes
Contents
require_relative 'processor' require_relative 'concerns/no_content' module SSMD::Processors class MarkProcessor < Processor prepend NoContent def result name = match.captures.first "<mark name=\"#{name}\"/>" end def text "" end def regex /@(\w+)/ end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ssmd-0.7.6 | lib/ssmd/processors/mark_processor.rb |