Skip to main content
11 events
when toggle format what by license comment
Jun 12, 2020 at 14:35 history edited CommunityBot
Commonmark migration
Aug 31, 2014 at 23:00 vote accept Kaz Wolfe
Aug 30, 2014 at 9:34 comment added Eliah Kagan @Whaaaaaat You have to use some HTML, to apply mid-code formatting. (Limited HTML is supported in posts but not comments, which was why I wasn't able to show its appearance in my comment.) For inline code, replace markdown backticks (`) with <code> and </code>--then * and ** will format as italics and bold. For code blocks, use <pre><code> and </code></pre> around the whole block instead of indenting each line 4 spaces; then HTML formatting tags like <em>/</em>, <strong>/</strong>, <i>/</i>, and <b>/</b> tags will work.
Aug 30, 2014 at 9:23 comment added Kaz Wolfe @EliahKagan How do you do that mid-code? I was never able to do that.
Aug 30, 2014 at 9:17 comment added Eliah Kagan @Tim Italicizing, bolding, or both on code is useful as an annotation to indicate it's a metasyntactic variable or otherwise a particularly likely candidate for substitution. For example, in this post, I italicized "file" and "command" when they stood for something other than themselves. I believe this sometimes particularly improves readability and can even decrease technical ambiguity. When I say an error will be like bash: file: Is a directory and I italicize just file (I can't do that in this comment, but I can in a post), I really think that helps.
Aug 30, 2014 at 9:07 history edited Jacob Vlijm CC BY-SA 3.0
edited body
Aug 30, 2014 at 9:05 comment added Tim Yes, that's fine but just adding italics to code like I did ^^... rage...
Aug 30, 2014 at 9:02 comment added Kaz Wolfe @Tim I used it very rarely, but only if it was part of an italicized paragraph.
Aug 30, 2014 at 9:00 comment added Tim I also hate the italics code
Aug 30, 2014 at 9:00 comment added Kaz Wolfe I agree that if it's for very important and easy-to-miss stuff, bolding is very very good. But not everyone knows or cares about what kind of computer you use.
Aug 30, 2014 at 8:59 history answered Jacob Vlijm CC BY-SA 3.0