class HamdownCore::Ast::HtmlListItem

Public Instance Methods

html_list_item?() click to toggle source
# File lib/hamdown_core/ast.rb, line 191
def html_list_item?
  true
end
markdownable?() click to toggle source
# File lib/hamdown_core/ast.rb, line 194
def markdownable?
  false
end
to_ol_list_item!() click to toggle source
# File lib/hamdown_core/ast.rb, line 197
def to_ol_list_item!
  node = HtmlOlListItem.new
  node.filename = filename
  node.lineno = lineno
  node.text = text
  node
end
to_ul_list_item!() click to toggle source
# File lib/hamdown_core/ast.rb, line 204
def to_ul_list_item!
  node = HtmlUlListItem.new
  node.filename = filename
  node.lineno = lineno
  node.text = text
  node
end