Forum Topics & Post Comments

Enabling the accounts tier unlocks both lightweight Post Comments (module-comments) and structured Community Forum Topics (module-forum).

Choosing Between Comments and Forum Topics

DimensionPost Comments (CommentBox)Community Forum (Topics + DiscussionPanel)
PlacementFooter of blog postsDedicated /topics plaza + contextual footer on docs and showcase pages
StructureFlat chronological replies on a single postDedicated title, category tag, multi-reply threads, permanent /topics/:id URL
Search IndexingScoped to the host postApproved public topics are incrementally indexed into ⌘K Tantivy search

Starting Contextual Discussions from Docs

Clicking Start Discussion at the bottom of any doc chapter opens /topics/new?kind=doc&path=.... Once published, the thread appears both in /topics and directly beneath that documentation page so future readers find answers in context.

Strict Untrusted UGC Isolation

Every comment and forum post renders through widgets::parse_untrusted_markdown:

  • Supports syntax-highlighted code blocks, lists, emphasis, and safe links;
  • Escapes all raw HTML tags and restricts images strictly to /uploads/;
  • Demotes # headings to ## to preserve host page heading hierarchy.