Ask Your Question

Why do Comments have a different syntax than Answers?

asked 2013-02-26 15:05:18 -0600

qubit's avatar

updated 2013-02-26 15:05:58 -0600

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-27 16:24:06 -0600

Evgeny's avatar

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).

edit flag offensive delete link more


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  ( 2013-03-19 01:50:43 -0600 )edit

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

IsaacSaito's avatar IsaacSaito  ( 2013-08-09 16:29:33 -0600 )edit

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  ( 2013-08-09 19:03:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-02-26 15:05:18 -0600

Seen: 772 times

Last updated: Feb 27 '13