diff --git a/templates/admonition.html.erb b/templates/admonition.html.erb new file mode 100644 index 0000000..4788308 --- /dev/null +++ b/templates/admonition.html.erb @@ -0,0 +1,23 @@ +
<%
+ if document.attr? :icons, 'font' %>
+ <%
+ elsif document.attr? :icons %>
+ <%
+ else %>
+ <%= @caption %> <%
+ end %>
+ |
+ <%
+ if title? %>
+ <%= title %> <%
+ end %>
+ <%= content %>
+ |
+
<% if role %>class="<%= role %>"<% end %>><% +if title? %> +