thp / urlwatch

Watch (parts of) webpages and get notified when something changes via e-mail, on your phone or via other means. Highly configurable.
https://thp.io/2008/urlwatch/
Other
2.81k stars 352 forks source link

possible to have colored diff output on the matrix reporter? #722

Open kongomongo opened 1 year ago

kongomongo commented 1 year ago

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 commented 1 year ago

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

kongomongo commented 1 year ago

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?