3
$\begingroup$

I have tried using $<b>bold</b>$ and $<i>italics</i>$ with and without the dollar signs and neither seems to work in comments. Although that is what I have seen trying to look underneath comments which use them.
I have searched here using "bold comments" and a few variants but found no answers.

Is it possible that $<b>bold</b>$ in comments is not rendering correctly in my browser, Firefox?

$\endgroup$
  • 6
    $\begingroup$ Use Markdown syntax, **bold** bold, and *italics* italics. $\endgroup$ – Daniel Fischer Dec 1 '17 at 14:10
  • $\begingroup$ Here is what I get when I use <b>bold</b> in a comment. $\endgroup$ – Stephen Meskin Dec 1 '17 at 14:11
  • 6
    $\begingroup$ Don't use HTML tags. Use Markdown syntax. $\endgroup$ – Daniel Fischer Dec 1 '17 at 14:11
  • $\begingroup$ I thought I had tried that. bold I guess I overlooked the obvious. Thanks. $\endgroup$ – Stephen Meskin Dec 1 '17 at 14:12
5
$\begingroup$

In Markdown help - comment formatting you can read that

Comments support only bold, italic, code and links; in addition, a few shorthand links are available.

_italic_ and **bold** text,
inline `code in backticks`,
and [basic links](http://example.com).

And also *italics* works for italics.

In the linked help you can find more details also about shorthand links and . (I have only copied the part releveant to your question about bold and italics.)

You can find even more details in the section of FAQ about comments: How can I format and link in comments?

Again, I will quote here only part relevant to bold and italics:

Comments can be formatted with a subset of Markdown: bold (**bold**), italic (_italic_ or *italic*), bold italic (***bold italic*** or ___bold italic___) and code (`code`) are allowed. It is not generally possible to insert line breaks in comments, though some hacky workarounds exist.

See the comments just below this post where the above syntax is tested.

$\endgroup$
  • 2
    $\begingroup$ Test of the stuff mentioned above in a comment: italic and bold text, inline code in backticks, and basic links. And also *italics* works for italics. $\endgroup$ – Martin Sleziak Dec 1 '17 at 14:26
  • 1
    $\begingroup$ Test of italics using stars. $\endgroup$ – Stephen Meskin Dec 1 '17 at 14:30
  • $\begingroup$ Right, in the above comment I wrote italics instead of italics by mistake. (But, as you probably tried yourself, *italics* indeed works.) $\endgroup$ – Martin Sleziak Dec 1 '17 at 14:33
  • $\begingroup$ Comments can be formatted with a subset of Markdown: bold (**bold**), italic (_italic_ or *italic*), bold italic (***bold italic*** or ___bold italic___) and code (`code`) are allowed. $\endgroup$ – Martin Sleziak Dec 1 '17 at 14:38
  • $\begingroup$ Now that that's settled why does't <text>**bold**</text> work in titles? Or should I look that up under Markdown help - title formatting? :-) $\endgroup$ – Stephen Meskin Dec 1 '17 at 14:40
  • 1
    $\begingroup$ @StephenMeskin Meta.SE: Can we get markdown support in Question's title field? (Some people use MathJax to achieve bold/italics in the title - but this is incorrect use of MathJax; for more details see: Guidelines for good use of $\LaTeX$ in question titles.) $\endgroup$ – Martin Sleziak Dec 1 '17 at 14:49
  • $\begingroup$ Regular asterisk: * | Bold asterisk: * | Side by side comparison: * * | To get a bold asterisk (*), escape the asterisk: **\*** | So now the question is, how do I get a bold italicized asterisk?!? $\endgroup$ – Stack Underflow 2 days ago

You must log in to answer this question.

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