X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/5c578e06033e7d0ad896eb912dafa2d299c3648b..3ee93febf0259342d006f090c9b1d8a1468e87b0:/fixup.rb?ds=inline diff --git a/fixup.rb b/fixup.rb index 211bd26..17bf82b 100644 --- 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")}