lib/dnote/templates/md.erb in dnote-1.6.1 vs lib/dnote/templates/md.erb in dnote-1.7.0
- old
+ new
@@ -1,8 +1,8 @@
<%= title %>
-<%= '=' * title.size %>
+<%= '=' * title.to_s.size %>
<% notes.by_label_file.each do |label, per_file| %>
<%= label %>
@@ -12,7 +12,8 @@
### file://<%= file %>
<% line_notes.each do |note| %>
* <%= note %> (<%= note.line %>)
+<% if note.code? %><%= "\n" + note.code.tabset(4).rstrip + "\n\n" %><% end %>
<% end; end; end %>