class Kramdown::Element
def self.category(el)
or a span-level context. These elements need to have the option :category correctly
Most elements have a fixed category, however, some elements can either appear in a block-level
Return the category of +el+ which can be :block, :span or +nil+.
def self.category(el) CATEGORY[el.type] || el.options[:category] end