parser.add_argument("-t","--output-tex",help="The TEX file to write into.")
parser.add_argument("-t","--output-tex",help="The TEX file to write into.")
parser.add_argument("-m","--output-md",help="The Markdown file to write into. (Uses pandoc to generate markdown)")
parser.add_argument("-m","--output-md",help="The Markdown file to write into. (Uses pandoc to generate markdown)")
parser.add_argument("-j","--output-json",help="The JSON file to dump the pandoc-compatible AST into.")
parser.add_argument("-j","--output-json",help="The JSON file to dump the pandoc-compatible AST into.")
parser.add_argument("input_filename",help="The markdown file to process.")
parser.add_argument("--katex-server",action='store_true',help="Starts a KaTeX server and prints the socket filename onto stdout. Useful for running formatitko many times without starting the KaTeX server each time.")
parser.add_argument("-k","--katex-socket",help="The KaTeX server socket filename obtained by running with `--katex-server`.")
parser.add_argument("input_filename",help="The markdown file to process.",nargs="?"if"--katex-server"insys.argvelseNone)