Skip to content

Conversation

@HarixhKumawat
Copy link

Resolves #8
added chat-markdown and markdown files.

  • chat-markdown.ts: added an observer on the chat element. It loops through the messages, finds the one that changed, and replaces it with the newly formatted version.
  • markdown.ts: this file contains the rules of the markdown and sanitizes using the dompurify to make sure no XSS attack is possible.

@Mopsgamer Mopsgamer added the enhancement New feature or request label Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: markdown support in chat messages

3 participants