templates/table.html.slim in asciidoctor-revealjs-4.0.1 vs templates/table.html.slim in asciidoctor-revealjs-4.1.0.rc2
- old
+ new
@@ -1,6 +1,7 @@
-table(id=@id class=['tableblock',"frame-#{attr :frame, 'all'}","grid-#{attr :grid, 'all'}",role]
- style=[("width:#{attr :tablepcwidth}%" unless option? 'autowidth'),("float:#{attr :float}" if attr? :float)].compact.join('; '))
+- classes = ['tableblock', "frame-#{attr :frame, 'all'}", "grid-#{attr :grid, 'all'}", role, ('fragment' if (option? :step) || (attr? 'step'))]
+- styles = [("width:#{attr :tablepcwidth}%" unless option? 'autowidth'), ("float:#{attr :float}" if attr? :float)].compact.join('; ')
+= html_tag('table', { :id => @id, :class => classes, :style => styles }.merge(data_attrs(@attributes)))
- if title?
caption.title=captioned_title
- unless (attr :rowcount).zero?
colgroup
- if option? 'autowidth'