4 ms·
Sorry, new to posting on HN. How do I get asterisk literals?
by howeman 13y ago
Sorry, new to posting on HN. How do I get asterisk literals?
- scott_s 13y agoMake sure there are spaces on both sides. Asterisk: * (plain asterisk surround by spaces). Italics: foo ('foo' surrounded by asterisks).
- prodigal_erik 13y agohttps://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc says two leading spaces formats code verbatim: (-b + math.Sqrt(b*b - 4*a*c)) / (2*a)
- sampo 13y agoLeave a whitespace after the asterisk: 1 * 2 * 3 = 6 https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc