Sha256: e5923499d79fe3533f4c76f238f1dae7cdcfcc29172460f73fdd0a5324a051f7
Contents?: true
Size: 640 Bytes
Versions: 5
Compression:
Stored size: 640 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=@caption - elsif @document.attr? :icons img src=icon_uri(attr :name) alt=@caption - else .title=@caption td.content - if title? .title=title =content
Version data entries
5 entries across 5 versions & 1 rubygems