+
-
#{content}
#{title}
Contents" + renderer = Redcarpet::Render::HTML_TOC.new(nesting_level: 2) + page_html += Redcarpet::Markdown.new(renderer, fenced_code_blocks: true).render(md) + + renderer = HTMLwithPygments.new(with_toc_data: true) + page_html += Redcarpet::Markdown.new(renderer, fenced_code_blocks: true).render(md) + + header_rel = ' / technical notes /' + fskel("/technical-notes/#{b}.html", title, page_html, + header: header_rel, + prose: true) + + technotes_index_entry = "
#{com_list}
@@ -244,7 +269,7 @@ EOF
blog_toc_entry = "#{title} "
com_section = <
+
#{com_section}
EOF
@@ -269,6 +294,11 @@ EOF
fskel(rel_path, title, page_html,
header: header_rel,
footer: footer_extra,
+ # We call the main content prose because it can contain
+ # code, so we want to left justify it, so we dont have
+ # to cram all the code into the middle and can use
+ # a wider area.
+ prose: true,
comments: com_section,
description: description)
url="#{DURL}#{rel_path}"
#{Time.at(date).strftime("%b %-d '%y")}