Compile any supported file type. Detects format (.typ, .qmd, .py) and runs appropriate build command.