Can we have back tick code in titles that render in the questions list and the post page? It would be nice to have the fixed width font for actual code snips in a title.
1 Answer
Titles should be descriptive of the problem being attempted to solve. They don't require much in the way of fancy styling or emphasis; they require clarity into the actual problem. Adding formatting - like backticks - does nothing to motivate the goal of making the question any clearer.
-
1i disagree, it could make the readability of the titles better to indicate code. Feb 27, 2018 at 20:36
-
4@DanielA.White: Yes, but what good is indicating code in a title if you're explicitly asking about code? Why would backticks make one's question clearer if they're asking about code?– MakotoFeb 27, 2018 at 20:46
-
3@DanielA.White: If a title is not clear without the formatting, then it's a bad title. Feb 27, 2018 at 22:11
-
1I disagree. When you need to refer e.g. class name in the title, having it in different style would improve readability / make it more understandable. After saying that, I have to agree with BSMP that some people would use backticks for
emphasis
so allowing backticks to change formatting in titles may not be worth the trouble. Nov 15, 2018 at 14:42 -
1@MikkoRantalainen: If you can't discern from context that what the title is about is a class or method, then the title is unclear and formatting wouldn't save it.– MakotoNov 15, 2018 at 15:46
-
1Given the ubiquity of Markdown nowadays, backticks DO actually help me visually scan text to find code (or code snippets)! Mar 14, 2021 at 17:51
-
Let's not forget accessibility tools such as screen readers. Titles with the
<code>
-HTML tag could actually improve accessibility and SEO. Sep 9, 2021 at 15:06
<title>
tag can be rendered with backticks.code
in titles. And I don't think more formatting should be allowed in contrast to the duplicate question.