]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - fixup.rb
Move code to emphesize keywords from LaTeX to markdown.
[text-madewithcc.git] / fixup.rb
index 211bd26b558e89a4084b99251ee44b947aee933c..17bf82b34724ecef667256acf3ec9e3a766e3271 100644 (file)
--- a/fixup.rb
+++ b/fixup.rb
@@ -295,5 +295,8 @@ data.each_with_index do |lin, idx|
   end
 end
 
+log 0, 'emphesize keywords'
+data.map {|lin| lin.gsub!(/^(>\s*)(Revenue model|Interview date|Interviewees?):/, '\\1**\\2**:')}
+
 log 0, 'Writing processed file'
 File.open(dstfile, 'w') {|f| f.puts data.join("\n")}