# vim: sw=3 ts=3 et ft=org
#+TITLE: Listitem Element
#+STYLE: <LINK href='../stylesheet.css' rel='stylesheet' type='text/css' />
#+AUTHOR: Jesse Gumm (@jessegumm)
#+OPTIONS:   H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL: 
#+TEXT: [[file:../index.org][Getting Started]] | [[file:../api.org][API]] | [[file:../elements.org][*Elements*]] | [[file:../actions.org][Actions]] | [[file:../validators.org][Validators]] | [[file:../handlers.org][Handlers]] | [[file:../config.org][Configuration Options]] | [[file:../about.org][About]]

* List Element - #list {}

The list element produces an HTML listitem element (<li>).

** Usage

#+BEGIN_SRC erlang
   #listitem {
      body="My List Element"
  }.
#+END_SRC

** Attributes
  
   + body - (/list of Nitrogen elements/) :: A list of listitems elements.

   + text - (/string/) :: Set to the text of the list item.

   + html\_encode - (/boolean/) :: Set to true to safely html-encode the displayed text.

** See Also

   + [[./base.html][base element]]

   + [[./list.html][list element]] 

   + [[./mobile_listitem.html][mobile_listitem element]]
