# Displaying code changes and comments

**URL:** <https://meta.discourse.org/t/displaying-code-changes-and-comments/136308>\
**Category:** Feature\
**Created:** [December 17, 2019, 1:07pm UTC](https://meta.discourse.org/t/displaying-code-changes-and-comments/136308 "2019-12-17T13:07:37Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![pgr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pgr/32/156783_2.png) [@pgr](https://meta.discourse.org/u/pgr)\
**Post date:** [December 17, 2019, 8:15pm UTC](https://meta.discourse.org/t/displaying-code-changes-and-comments/136308/10 "2019-12-17T20:15:05Z")

</div>

I will be using the `diff` construct from now on, it’s helpful.

I don’t see Discourse implementing that other suggestion from the Gist, the more I think of this, the more I believe it would fit perfectly _inside_ the syntax highlighter, not outside.

Basically, as years go by it makes sense to add some features to syntax highlighters, and the basic job of _showing code in an easy to read way_ extends naturally to show also some of the code’s _dynamics_.

What changed, where, by whom; what am I pointing at; which helpful comment explains the relation of the code to the place where it is being posted, etc.

Thanks to everybody for their participation in this discussion.

---

_[View the full topic](https://meta.discourse.org/t/displaying-code-changes-and-comments/136308)._
