#!/bin/bash # Function to show help show_help() { echo "Universal File Converter" echo "Supported conversions: DOCX→MD, MD→HTML, HTML→MD, MD→DOCX, HTML→DOCX" echo "Usage: $0 [-f] [-o outputdir] [-t format] [-T template] [--no-toc] input1.ext [input2.ext ...]" echo " -f: Force overwrite existing output files" echo " -o: Output directory (default: same as input)" echo " -t: Target format (md, html, docx) - overrides auto-detection" echo " -T: Template file path (default: templates/