First time here? Check out the FAQ!
1

Why do Comments have a different syntax than Answers?
 

Comments seem to use slightly different syntax than Answers. This can be quite limiting, especially when one wants to quote an Answer in a comment, for example:

> they use a special comment for the cases where the language cannot be guessed <!-- lang: lang-name-->

Or if one wants to strike-through something:

<del>Something that I later realized was false</del> and something
that was certainly still true.

It seems like it would be simplest to have the same markup available in both types of post. That way users wouldn't have to remember two different sets of acceptable markup.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
qubit's avatar
108
qubit
asked 12 years ago, updated 12 years ago

Comments

see more comments

1 Answer

2

There is really no big reason for this, except maybe to limit the types of things that can be put into the comments, for example you probably don't want to see headings in the comments.

We are currently working on allowing TinyMCE and the Markdown editors to work in the comments, as well as a simple plain text editor (in which case there will be only limited support of the special markup).

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

Fair enough -- there are a few things like headings that users won't need in the comments, however the bulk of the formatting would be nice to have available in comments. It could also be nice to have a live preview of the comment formatting, just like we have for Answers.

qubit's avatar qubit (12 years ago)

Since its recent upgrade, answers.ros.org's comment area seems to be following this decision. I still really liked minimum formatting eg. auto-link URL.

IsaacSaito's avatar IsaacSaito (11 years ago)
1

It is possible now to use the same editor for the comments - there is an option for this in the "data entry and display rules" section of the settings.

Evgeny's avatar Evgeny (11 years ago)
see more comments