lib/templates/classfile.md.erb in rdoc-markdown-0.4 vs lib/templates/classfile.md.erb in rdoc-markdown-0.4.2
- old
+ new
@@ -1,9 +1,13 @@
# <%= klass.type %> <%= klass.full_name %> [](#<%= klass.aref.strip %>) [](#top)
<%= h klass.description %>
<% klass.each_section do |section, constants, attributes| %>
- <% if section.title %>## <%= section.title.strip %> <% end %>
- <% if section.comment %> <%=h section.description %><% end%>
+ <% if section.title %># <%= section.title.strip %>
+
+ <% end %>
+ <% if section.comment %> <%=h section.description %>
+
+ <%end%>
<% unless klass.constants.empty? %>
## Constants
| Name | Description |
| ---- | ----------- |
<% klass.constants.each do |const| %> | **<%= const.name %>[](#<%= const.name %>)** | <% unless const.description.empty? %> <%= h(const.description).rstrip %> <%else%> Not documented <% end %> |