akiver / cs-demo-manager

Companion application for your Counter-Strike demos.
https://cs-demo-manager.com
MIT License
1.45k stars 195 forks source link

WYSIWYG Markdown editing in demo comment text area #916

Closed rintac closed 1 month ago

rintac commented 3 months ago

What problem is this solving

As of 3.8.1, the comment box of a demo is purely plaintext. This can get a bit unwieldy if you're taking notes round-by-round. The solution: Markdown! By far my favorite method for quickly taking structured notes. A real-time preview of the most basic markdown features, such as headings, bold, italics, bulleted/numbered lists, and (maybe) hyperlinks would be amazing.

Proposed solution

Examples of this (first two are unfortunately closed source):

https://github.com/user-attachments/assets/d2f7d7f7-8dd6-45bd-8a07-54d39c35d10f

From a UI clutter standpoint, it wouldn't be necessary to add any sort of graphical buttons to the comment box, in my opinion. If someone is already aware of Markdown, they are going to try and see if it works!

Describe alternatives you've considered

I could probably connect some sort of text/Markdown editor to the PostreSQL DB, but it would be awesome to have an implementation here.