- if (checklist = (option? :checklist) ? 'checklist' : nil) - if @document.attr? :icons, 'font' - marker_checked = '' - marker_unchecked = '' - else - marker_checked = '⊠' - marker_unchecked = '◻' %div{:id=>@id, :class=>['ulist', checklist, @style, role]} - if title? .title=title %ul{:class=>(checklist || @style)} - items.each do |item| %li{:class=>('slide' if option? :step)}< - if item.blocks? %p - if checklist && (item.attr? :checkbox) =%(#{(item.attr? :checked) ? marker_checked : marker_unchecked} #{item.text}) - else =item.text =item.content.chomp - else - if checklist && (item.attr? :checkbox) =%(#{(item.attr? :checked) ? marker_checked : marker_unchecked} #{item.text}) - else =item.text