urlwatch icon indicating copy to clipboard operation
urlwatch copied to clipboard

possible to have colored diff output on the matrix reporter?

Open kongomongo opened this issue 1 year ago • 2 comments

heya, not sure where to post this, hope it's ok. does anyone know if its possible to get the wdiff-style colored output on the matrix reporter?

Really hard to see whats changed without color.

kongomongo avatar Oct 02 '22 17:10 kongomongo

Erm, I guess this is supposed to work if markdown2 python package is installed. Investigating.

kongomongo avatar Oct 02 '22 21:10 kongomongo

ok, with markdown2 installed the basic -/+ diff highlighting works.

Seems like it gets posted as

<pre><code class=\"diff language-diff\">

but that does not seem to work for wdiff style changes. Anyone knows how to make this work?

kongomongo avatar Oct 02 '22 22:10 kongomongo