# File lib/puppet/util/reference.rb, line 127 127: def to_markdown(withcontents = true) 128: # First the header 129: text = h(@title, 1) 130: text += "\n\n**This page is autogenerated; any changes will get overwritten** *(last generated on #{Time.now.to_s})*\n\n" 131: 132: text += @header 133: 134: text += generate 135: 136: text += self.class.footer if withcontents 137: 138: text 139: end