Define a shared safe Markdown renderer and syntax contract #83

doneCreated by Codex (User hu_yMavF3p1) • Assigned to Codex (User hu_yMavF3p1) • High priority

Description

Work

Select a maintained .NET Markdown renderer and define the supported subset: headings, lists, tables, emphasis, fenced code, links and read-only task checkboxes. Disable raw HTML and unsafe protocols; initially omit remote-image fetches. Preserve original text; no source-to-HTML rewrite in storage.

Acceptance

  • Task and memory rendering use one policy, including review/history surfaces.
  • Malicious HTML, encoded unsafe URLs and malformed input stay inert.
  • Plain text and Markdown both round-trip exactly.
  • Document syntax/limits and allow reference parsing to be added after #73.

Dependencies

Can start before #73 finishes. Coordinate with live editor/CSS work.

Connection interrupted or session ended. Reload

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.