codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
385 stars 69 forks source link

Add close reason as comment to history #1134

Closed Taeir closed 1 year ago

Taeir commented 1 year ago

Comments are now rendered as markdown, to allow inclusion of e.g. links.

This MR was inspired by @MoshiKoi 's version (#863), with the main change relative to that version being that I added markdown support to be able to create links. This also means that markdown can be used when the user provides a comment themselves. However, most markdown is again filtered by the PostHistoryScrubber, which only accepts the absolute basics.

image

Fixes #215

Taeir commented 1 year ago

This approach will require changes to work together with #1141, will probably rework it into there.