#diff markdown - not highlighted.

1 messages ยท Page 1 of 1 (latest)

noble hare
#

As title!

rose saddle
# noble hare As title!

Hi, in the other channel you were giving me examples of what you expect vs what you see -- maybe some more screenshots here could be helpful?

noble hare
#

This is following the format

```diff

  • cookies
    - cookies
    ```
#

As we can see chatGPT treats - (removals) and unchanged lines the same

rose saddle
noble hare
#

indicating* a "removal"

rose saddle
#

Ooo I see. Thank you for teaching me that! So where did the red dot emoji come from in the OP? Was that its best attempt or did you instruct for that?

noble hare
noble hare
# noble hare

Text appears lighter here as I had Dark Mode extension on just noticed sorry.

rose saddle
#

But the ideal would be for diff to act like you'd expect diff to work, I see now! Thanks again for the explanation, I hope it's a simple and quick fix for this!

noble hare
#

But yep! Thanks for helping me clarify!

noble hare
#

@rose saddle I might've fixed it ๐Ÿ˜‚

#

Inspected the deletion line, noticed it had a special class.

Same for the addition line.

#

Addition has this as style

#

Deletion had nothing there. So I followed where that Addition line was added.

#

Then added the highlighted portion ๐Ÿ˜„

#

(likely not a full implementation as I see they have a bunch more stuff going on but I think it's just that ๐Ÿ˜„ )