Sha256: 3526dd1008e009ca02f217a3de8d64a9894959e3bca2111c189a24e2e123f8d6
Contents?: true
Size: 682 Bytes
Versions: 3
Compression:
Stored size: 682 Bytes
Contents
- if (has_role? 'aside') or (has_role? 'speaker') aside.notes =content - else .admonitionblock id=@id class=[(attr :name),role] table: tr td.icon - if @document.attr? :icons, 'font' - icon_mapping = Hash['caution', 'fire', 'important', 'exclamation-circle', 'note', 'info-circle', 'tip', 'lightbulb-o', 'warning', 'warning'] i class=%(fa fa-#{icon_mapping[attr :name]}) title=(attr :textlabel || @caption) - elsif @document.attr? :icons img src=icon_uri(attr :name) alt=@caption - else .title=(attr :textlabel) || @caption td.content - if title? .title=title =content
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
asciidoctor-revealjs-1.1.3 | templates/admonition.html.slim |
asciidoctor-revealjs-1.1.1 | templates/admonition.html.slim |
asciidoctor-revealjs-1.1.0 | templates/admonition.html.slim |