X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/ca64b3de34b65a7c7b4a041a08857c151c25466d..1bc9c78f5c59a040a706ae02251edf7526f16747:/fixup.rb 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")}