class Kramdown::Parser::Kramdown

def parse_codeblock_fenced

Parse the fenced codeblock at the current location.
def parse_codeblock_fenced
  if @src.check(self.class::FENCED_CODEBLOCK_MATCH)
    start_line_number = @src.current_line_number
    @src.pos += @src.matched_size
    el = new_block_el(:codeblock, @src[4], nil, :location => start_line_number)
    lang = @src[3].to_s.strip
    el.attr['class'] = "language-#{lang}" unless lang.empty?
    @tree.children << el
    true
  else
    false
  end
end