add markdown diff

NB: I won't be able to implement tests for the modifications due to time constraints.