diff --git a/projects/hollywoo/src/hollywoo/FountainConversions.kiss b/projects/hollywoo/src/hollywoo/FountainConversions.kiss index 4b33ddec..9aa23ab3 100644 --- a/projects/hollywoo/src/hollywoo/FountainConversions.kiss +++ b/projects/hollywoo/src/hollywoo/FountainConversions.kiss @@ -40,4 +40,15 @@ line (ifLet [(Some l) (stream.takeLine)] (l.trim) (break))] (when line (+= output "NORMALSPEECH \"${name}\" \"${wryly}\" ##\"${line}\"##\n")))) - output))) \ No newline at end of file + output))) + +(registerConversion + (new ktxt2.StreamConversion "Label" "fountain" "hollywoo" + ->stream ?{(stream.dropWhitespace) (stream.startsWith "/*")} + ->stream + "LABEL $(.trim + (.replace + (.replace + (.replace stream.content "/*" "") + "*/" "") + "*" ""))\n")) \ No newline at end of file