[Chat composer] Markdown input + auto-continuing numbered lists (like ChatGPT / Claude)

**Product:** Qoder Desktop, Windows — chat session input box (task composer) and message rendering.

**Summary**

When I type a task, the composer behaves like a plain text field: no Markdown support and no list auto-continuation. ChatGPT and Claude both give you a real Markdown composer where numbered lists continue automatically and the sent message renders formatted. I would like the same in Qoder chat sessions.

**Request 1 — Auto-numbering while typing**

  • After `1. First step` + Enter, the next line starts with `2. ` automatically and the counter keeps incrementing.
  • Same for bullets (`-` / `*`) and for nested levels (indent gives a sub-list, outdent returns to the parent level).
  • Tab / Shift+Tab indent and outdent a list item and renumber the rest of the list.
  • Enter on an empty list item closes the list (standard editor behaviour).
  • Inserting or deleting a step in the middle renumbers everything below it. This is the main pain point today: I have to retype every number by hand.

**Request 2 — Markdown in the composer and in the rendered message**

  • Markdown syntax support while typing: headings, bold/italic, inline code, fenced code blocks, lists, tables, links, blockquotes.
  • A preview toggle (or live rendering) so I can see the formatted task before sending.
  • After sending, my own message should render Markdown in the transcript. Right now the user message is plain text while agent replies are rendered, which makes long structured specs hard to re-read later in the session history.
  • Copy/export of a message should return the raw Markdown source.

**Why it matters**

Real tasks are structured: numbered steps, acceptance criteria, parameter tables, code snippets. Without auto-numbering and Markdown, writing a 10-step specification in the composer is slow and error-prone, and re-reading it later in the session is harder than it should be.

**Implementation notes / constraints**

  • Send the raw Markdown source to the model, not rendered HTML.
  • Keep the current plain-text paste behaviour and do not regress IME (CJK) input — there are already separate reports about paste styling and dropped characters.
  • Shipping it behind a setting (e.g. Settings → General → Rich composer) is fine if that is safer for existing users.
  • Several open requests touch the same surface (resizable input box, long-text editing mode, Home/End keys). A Markdown-aware composer would be a natural base for all of them.

**Acceptance criteria**

  1. Typing `1. ` + text + Enter produces `2. ` on the next line.
  2. Inserting a step between items 2 and 3 renumbers the subsequent items.
  3. Tab / Shift+Tab nest and unnest list items.
  4. Markdown typed in the composer renders in the sent user message.
  5. Copying the sent message returns the Markdown source.