Sha256: 3587006da92295cbbc1ae8d35851f42e9e7bde2a2bde776c65249cb02c6afe58
Contents?: true
Size: 704 Bytes
Versions: 7
Compression:
Stored size: 704 Bytes
Contents
- if (has_role? 'aside') or (has_role? 'speaker') or (has_role? 'notes') include notes.html.slim - 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
7 entries across 7 versions & 1 rubygems