pandiff icon indicating copy to clipboard operation
pandiff copied to clipboard

Feature request: track changes for DOCX, but output to Markdown

Open pvstodghill opened this issue 2 years ago • 0 comments

I would like a Markdown output file with Pandoc-style track changes markup instead of CriticMarkup. There doesn't appear to be a combination of command line options that gives this result. This is what I end up doing instead,

T=$(mktemp)
pandiff old.md new.md -t docx -o ${T}
pandoc -f docx - markdown+mark --track-changes=all ${T}

The reason is that my workflow does some transformations on the markdown before running it through Pandoc to generate DOCX files:

pandiff old.md new.md -t docx_but_markdown | frob-the-markdown | pandoc -t docx -o output.docx

pvstodghill avatar Jan 19 '24 18:01 pvstodghill