1
0
mirror of synced 2026-01-07 18:01:41 -05:00
Files
docs/data/reusables/discussions/marking-a-comment-as-an-answer.md

1.7 KiB

You can mark a comment in the discussion as an answer to the discussion if a discussion is within a category that accepts answers. For more information, see "AUTOTITLE."

When you mark a question as an answer, {% data variables.product.product_name %} will highlight the comment and replies to the comment to help visitors quickly find the answer.

Screenshot of a comment marked as the answer to a discussion.

{% ifversion discussions-mark-threaded-comment-as-answer %}You can also mark a threaded comment (in response to a comment) as the answer to a discussion. You can't mark a minimized comment as the answer to a discussion. {% else %}You can't mark a threaded comment in response to a comment as the answer to a discussion. You also can't mark a minimized comment as the answer to a discussion.{% endif %}

{% data reusables.discussions.navigate-to-repo-or-org %} {% data reusables.discussions.discussions-tab %}

  1. In the list of discussions, click the unanswered discussion you want to mark as answered.

    Screenshot of the list of discussions with an unanswered discussion.

  2. In the discussion, find the comment you want to mark as the answer.

  3. Below the comment, click Mark as answer.

    Screenshot of a discussion comment. A button, labeled "Mark as answer", is outlined in dark orange.

  4. Optionally, to unmark a comment as the answer, click Unmark as answer.