Skip to content

Display sent messages with Markdown flavor#806

Open
alf0ns3 wants to merge 1 commit intosystemli:mainfrom
alf0ns3:dev-md
Open

Display sent messages with Markdown flavor#806
alf0ns3 wants to merge 1 commit intosystemli:mainfrom
alf0ns3:dev-md

Conversation

@alf0ns3
Copy link

@alf0ns3 alf0ns3 commented Jan 24, 2026

This PR displays sent messages with Markdown flavors such as clients will see it since systemli/ticker-frontend#705

resolves #803

  • Usage of marked and DOMPurify as HTML sanitizer to convert simple text as Markdown-based texts
  • Sent messages showned with Markdown flavors
  • Suppression of Links component and linkify dependency

@alf0ns3 alf0ns3 requested a review from 0x46616c6b as a code owner January 24, 2026 22:55
@0x46616c6b
Copy link
Member

Hi, we don't see Markdown as a suitable option for ticker messages. The reason is the complexity and unavailability of Markdown in the integrations (Signal, Telegram, Bluesky, and Mastodon).

@alf0ns3
Copy link
Author

alf0ns3 commented Feb 24, 2026

Ah, okay, it could still benefit the display on the web version, even if it means removing all the tags for integrations. Signal supports italics, code, and bold, I don't know about the others; I can try to write some scripts to adapt the Markdown version to enrich the text on other platforms if you're still interested in this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Display sent message with Markdown flavor

2 participants