class SSMD::Processors::MarkProcessor

Public Instance Methods

regex() click to toggle source
# File lib/ssmd/processors/mark_processor.rb, line 18
def regex
  /@(\w+)/
end
result() click to toggle source
# File lib/ssmd/processors/mark_processor.rb, line 8
def result
  name = match.captures.first

  "<mark name=\"#{name}\"/>"
end
text() click to toggle source
# File lib/ssmd/processors/mark_processor.rb, line 14
def text
  ""
end