46

On sites like Physics SE or Mathematics SE, it is not uncommon that you have to write formulas in the question title. I know this is discouraged because most people don't search for:

"How can it be that Doppler Factor $k=\frac{1}{k}$?"

(note the last MathJax part) on Google.

However, it sometimes is necessary. In these situations, I would consider a preview (like we have with the question body) to be useful. As of now, you have to hope that everything is correct, post the question and might have to find out that your beautiful equations renders like a mess because you forgot a }.

So, can we get a preview for titles when writing questions?

4

1 Answer 1

10
+50

I'm not against this feature, but if this is implemented, please hide the preview by default. Titles don't support regular Markdown formatting, and I'm not even sure they were intended to support MathJax either or if this is just .

A title preview will take away screen space one way or another; space which in 99.9% of the cases is more useful doing something else, like not having to scroll too much when previewing the body or submitting the question.

6
  • What do you mean by "I'm not sure they are supposed to support MathJax either"? Titles definitely do support MathJax (I'm not saying I'm a fan of titles with MathJax in them, but it's definitely supported). Dec 16, 2020 at 22:01
  • @user1271772 I know they support them, but not if that was intentional (perhaps that's a better word to use).
    – Glorfindel Mod
    Dec 17, 2020 at 6:59
  • 1
    I see, perhaps it was a coincidence. But I've had Mods at Math.SE get angry at me for removing MathJax in question titles. One of them even changed 2 to $2$ in a title! So even if it was unintentional that it works, the mods certainly "intend" for it to continue working. There's also a Meta post there, saying that if you remove MathJax from titles and make the title "look worse", you can get in trouble (maybe some people were doing it because they wanted their questions not to be blacklisted from HNQ, which the mods there believe is not worth making titles look "worse"). Dec 17, 2020 at 7:07
  • @user1271772 that may have been an old trick to get the question off the HNQ list. (Nowadays, mods have a special option for that.)
    – Glorfindel Mod
    Dec 17, 2020 at 7:10
  • 1
    "One final clarification. There will be a zero tolerance policy towards people who make titles worse just to get a question on or off the HNQ. People who abuse this list will be punished." math.meta.stackexchange.com/q/31425/202425 (quite recent: August 2020) Dec 17, 2020 at 7:11
  • @Glorfindel It is true that mods have the other tools to remove a question from the HNQ - still, adding MathJax is available to the regular users, too. (Although it was certainly not intended for this purpose.) Personally I am not sure what would be the best solution of that issue. It would be nice to allow all questions into the HNQ - but that would mean that we need MathJax rendering in that list. At the same time, I don't think it is good to have a worse title only to leave a chance for the question to gete into the HNQ list. (In any case, it is only tangential to this feature request.)
    – Martin
    Feb 6 at 8:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .