initialize

in source/_plugins/highlight-linedivs.rb [44:59]


      def initialize(tag_name, markup, tokens)
        super
        if markup.strip =~ SYNTAX
          @lang = Regexp.last_match(1).downcase
          @highlight_options = parse_options(Regexp.last_match(2))
        else
          raise SyntaxError, <<-MSG
Syntax Error in tag 'highlight' while parsing the following markup:

  

Valid syntax: highlight <lang> [linenos] [linedivs]
MSG
        end
      end