You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: inspectors.rb
    path of file: ./repos/rhino-editor/docs/plugins/builders
    
    the code of the file until where you have to start completion: require "cgi"

class Builders::Inspectors < SiteBuilder
  def build
    inspect_html do |document|
      grab_headers(document)
      mark_external(document)
      syntax_highlight(document)
    end
  end

  def mark_external(document)
    document.css("a[href^='http']").each do |anchor|
      next unless anchor[:href]&.starts_with?("http") && !anchor[:href].
    
  def syntax_highlight(document)
    document.css(":not(.syntax-block) > div.highlighter-rouge").each do |el|
      text = el.inner_text
      lang = el["class"].scan(/\s?language-.*\s/).last

      lang = lang.strip.split("-")[1] if lang

      lang = Syntax.full_language(lang)
      id = SecureRandom.uuid

      el.wrap("<div class='syntax-block'></div>")

      actions = <<-HTML
        <div class='syntax-block__actions'>
          <div class='syntax-block__badge'>
            #{lang}
          </div>

          <clipboard-copy
            for='#{id}'
            class='button clipboard clipboard--idle syntax-block__clipboard'
            aria-label='Copy to clipboard'
            data-controller='clipboard'
          >
            <sl-icon class='clipboard__icon--success' name='clipboard-check'></sl-icon>
            <sl-icon class='clipboard__icon--idle' name='clipboard'></sl-icon>
          </clipboard-copy>

          <textarea id='#{id}' hidden>#{CGI.escape_html(text)}</textarea>
        </div>
      HTML

      el.add_previous_sibling(actions)
    end
  end