Skip to main content
25 events
when toggle format what by license comment
Jun 4, 2023 at 9:58 vote accept Ted Klein Bergman
S Dec 23, 2021 at 23:01 history notice removed CommunityBot
S Dec 23, 2021 at 23:01 history unlocked CommunityBot
S Dec 22, 2021 at 22:33 history notice added Stephen RauchMod Comments only
S Dec 22, 2021 at 22:33 history locked Stephen RauchMod
Dec 21, 2021 at 16:47 comment added jpmc26 @stackprotector Example (the "Compute according to probabilities" section)
Dec 21, 2021 at 16:43 comment added Karl Knechtel @IInspectable "I was answering that question" - and your answer appears to come out strongly in favour of fences? You seem to imply that you don't share the opinion that they're a "dramatic UX improvement", but I don't see how the answer you've linked actually argues against that.
Dec 21, 2021 at 16:12 comment added jpmc26 @stackprotector You leave a blank line after the list item (the line starting with * or 1.) and then indent the entire block (including the back-ticks themselves) by 4 spaces. (You can also have multiple nested paragraphs under the same list item. You just need a blank line and indentation for each one.)
Dec 21, 2021 at 10:13 comment added IInspectable @sta The normal indentation rules for nesting in lists apply.
Dec 21, 2021 at 10:08 comment added stackprotector How do you include fenced code blocks in list items?
Dec 21, 2021 at 8:17 comment added Konrad Rudolph @ChrisSchaller But indented code has the exact same issue, unless all your real code is somehow magically indented by exactly four spaces.
Dec 21, 2021 at 8:07 comment added IInspectable @jpm I was never claiming any of that. Read my comment again, and stick to what I did say. Not what you would have liked me to have claimed just so that you can prove me wrong.
Dec 21, 2021 at 7:30 comment added jpmc26 @IInspectable Raw data would be, "There are 13 downvotes on this answer." Claiming those downvotes represent a preference for indented code blocks is "guessing at how that data came about," or more succinctly, an interpretation. Can you see the difference? Konrad was examining additional data that suggested a different interpretation (namely, what objections were actually raised in comments by potential downvoters), not speculating.
Dec 21, 2021 at 6:57 comment added IInspectable @jpm Votes do carry meaning, obviously. There's a difference between using that raw data, and guessing at how that data came about. I used the raw data, when Konrad was playing the speculation game. Can you see the difference?
Dec 21, 2021 at 4:54 comment added jpmc26 @IInspectable If we can't glean any meaning from voting and the context surrounding it, then neither can you. You cannot use downvotes on your answer to defend the notion that some users prefer indented blocks and simultaneously dismiss Konrad's analysis of their meaning based on the context. That would be blatant hypocrisy.
Dec 21, 2021 at 3:35 comment added PM 2Ring BTW, you can also use triple tilde ~~~ for code fences, which may be easier than triple backticks on some keyboards. See meta.stackoverflow.com/a/251362/4014959
Dec 21, 2021 at 1:17 comment added Chris Schaller The biggest problem with fenced code on pasting is that most of us are pasting from heavily indented sources. I personally fix my indenting in the IDE before I paste into SO but its clear that a lot of people do not do this, so fencing makes it even more important that we provide keyboard or toolbar support for indenting blocks.
Dec 20, 2021 at 16:55 comment added IInspectable @kon Voting is anonymous. It's opaque to me how you derive your conclusions given that there is no data available. This reads like opinion delivered as if it was a fact.
Dec 20, 2021 at 16:16 comment added Konrad Rudolph @IInspectable From the comments it seems clear that at least some (if not all!) of the downvotes are from people who don’t agree that editing a post solely to change the code fence style is appropriate. The downvotes say nothing about whether people actually prefer indentation, and it’s highly unlikely that a significant number do.
Dec 20, 2021 at 12:25 comment added Hans Olsson @IInspectable That answer is not only about fenced code blocks, but also two other issues: changing that in edits, and how to fence blocks and those might have caused the downvote. As noted one major problem with backtick is that it is complicated to type on many keyboards, which makes it hard to do it manually - but that is not an issue for the code-block button.
Dec 20, 2021 at 12:04 comment added IMSoP @IInspectable Ah, I didn't look at the votes, only the comments, so I didn't understand what you were linking to.
Dec 20, 2021 at 11:54 comment added IInspectable @ims The title of the question is "What is the preferred method for formatting code?". I was answering that question (not whether the alleged mass editing that were to ensue, inevitably, were desirable). That answer has just about as many upvotes as it has downvotes.
Dec 20, 2021 at 10:56 comment added IMSoP @IInspectable I can only see one commenter there suggesting that there are a few edge cases where indenting is useful, namely when discussing Markdown itself. Most of the discussion is about how useful it is to edit existing posts to switch styles, which isn't relevant here.
Dec 20, 2021 at 9:52 comment added IInspectable "Fenced code blocks are a dramatic UX improvement." - Be prepared that not everyone shares this sentiment.
Dec 19, 2021 at 20:41 history answered jpmc26 CC BY-SA 4.0