# File lib/yard/templates/helpers/html_helper.rb, line 159
      def html_syntax_highlight(source, type = nil)
        return "" unless source
        return h(source) if options[:no_highlight]

        type ||= object.source_type || :ruby

        # handle !!!LANG prefix to send to html_syntax_highlight_LANG
        if source =~ /\A(?:[ \t]*\r?\n)?[ \t]*!!!([\w.+-]+)[ \t]*\r?\n/
          type, source = $1, $'
          source = $'
        end

        meth = "html_syntax_highlight_#{type}"
        respond_to?(meth) ? send(meth, source) : h(source)
      end