Show Topics

Custom Tools

You can add your own tools to compile files that are not supported by Prepros. Prepros runs the command specified in the command field to process files. Prepros replaces placeholders wrapped with double curly braces before running the command.

Available Placeholders

  • {{input}} — Quoted path of the input file.

  • {{rawInput}} — Unquoted path of the input file.

  • {{output}} — Quoted path of the output file.

  • {{rawOutput}} — Unquoted path of the output file.

  • {{inputDir}} — Quoted folder of the input file.

  • {{rawInputDir}} — Unquoted folder of the input file.

  • {{outputDir}} — Quoted folder of the output file.

  • {{rawOutputDir}} — Unquoted folder of the output file.

  • {{rootDir}} — Quoted path of the project folder.

  • {{rawRootDir}} — Unquoted path of the project folder.