class ReverseAsciidoctor::Converters::Th

Public Instance Methods

cellstyle(node) click to toggle source
# File lib/reverse_asciidoctor/converters/th.rb, line 4
def cellstyle(node)
  if node.parent.previous_element.nil?
    # this is the header row
    ""
  else
    "h"
  end
end