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 @@ + class="<%= ['admonitionblock',(attr :name),role].compact * ' ' %>"> + + + + + +
<% + if document.attr? :icons, 'font' %> + <% + elsif document.attr? :icons %> + + + <% + else %> +
<%= @caption %>
<% + end %> +
<% + if title? %> +
<%= title %>
<% + end %> + <%= content %> +
+ diff --git a/templates/paragraph.html.erb b/templates/paragraph.html.erb new file mode 100644 index 0000000..e548e55 --- /dev/null +++ b/templates/paragraph.html.erb @@ -0,0 +1,6 @@ + <% if role %>class="<%= role %>"<% end %>><% +if title? %> +
<%= title %>
<% +end %> +<%= content %> +