Skip to content

Instantly share code, notes, and snippets.

@jadephilipoom
Last active February 9, 2022 04:52
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jadephilipoom/2d585e8e64ce101b0be5 to your computer and use it in GitHub Desktop.
Save jadephilipoom/2d585e8e64ce101b0be5 to your computer and use it in GitHub Desktop.
Pretty PDF diff using wdiff and MarkDown
wdiff -n -w $'~~' -x $'~~' -y $'\\textcolor{blue}{' -z '}' base.md new.md | pandoc -o diff.pdf
@jadephilipoom
Copy link
Author

Example output:
result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment