Skip to main content
63 events
when toggle format what by license comment
Apr 21 at 17:57 comment added CPlus Upvoting this 12-year old request, because the fact that this was not implemented from the very beginning is a shame.
Jan 11, 2019 at 21:05 vote accept Mathias Bynens
Jan 8, 2019 at 17:08 history edited balphaStaffMod
edited tags
Jan 8, 2019 at 17:05 answer added balphaStaffMod timeline score: 199
Aug 7, 2018 at 15:58 comment added ryantuck Aaand it did turn out to be easy! I made a chrome extension to fix this. Hope this helps! chrome.google.com/webstore/detail/weirdify-markdown/…
Aug 6, 2018 at 23:00 comment added ryantuck Amazing that this hasn't been implemented, but it also seems (with zero knowledge of what's required, of course!) that it would be straightforward to create a light chrome extension that would allow you to input github flavored markdown and convert what you've entered into SO-style markdown when you hit publish or preview or something. Anyone know of anything like that?
Jun 29, 2018 at 21:42 comment added Alex Hall @balpha this fork of MarkdownSharp (which I believe is what StackExchange uses?) has implemented this feature, maybe that could be used? Pretty please? i.imgur.com/LOeGj.gif
May 27, 2018 at 1:52 comment added ChaseMoskal i'll just leave this here ;) "as a social phenomenon, this philosophy can manifest as an unwillingness to adopt an idea or product because it originates from another culture, a form of tribalism"en.wikipedia.org/wiki/Not_invented_here
Apr 17, 2018 at 19:12 comment added Richard I wish, I wish this would come to be.
Jan 2, 2018 at 7:37 comment added Yangshun Tay I'll buy the Stack Overflow engineers a beer (or more) for fixing this. When writing code on Stack Overflow, I often write it in my editor and copy it over into the answer. It's a horrible experience that I hope can be fixed. PLEASE!
Sep 15, 2017 at 15:21 comment added Daniel H Most of the comments here are about how easy or difficult it is for the person commenting to enter. I don’t care about that so much; I know enough tricks that I can get the indentation right, and if I’m worried I check the preview. However, people new to the site don’t know this. At least half the questions on SO with code blocks have bad indentation, and this is especially visible in the python tag. Right now I’m trying to answer a question when I don’t know what the code actually says because of inconsistent indentation, and I am not inclined to blame the asker for that.
Sep 15, 2017 at 13:18 comment added SilverWolf This feature would be fantastic. I abhor spaces for indentation, and don't like having to use them in my posts—but even if I could use tabs, I still much prefer the ``` syntax.
Aug 2, 2017 at 20:02 answer added claytond timeline score: 7
Nov 12, 2016 at 11:42 comment added sorin I am wondering what's the reason for making this deferred, maybe a little bit of NIH syndrome? This was a very popular request, easy to implement and low risk. Why not spending 100x more effort on experimenting new ways of writing and hosting documentation.
Nov 7, 2016 at 16:20 comment added jcollum It's not much in terms of import but this is my absolute #1 feature request for SO. Like the only thing I can think of that I care about.
Nov 7, 2016 at 16:18 comment added Jeremy Staff @jcollum Please note that I made that comment before I was an employee (or even planning to apply); it was just uninformed speculation. I'll see if there's any information I can now share, but I haven't yet looked into this issue since I started.
Nov 7, 2016 at 16:15 comment added jcollum @jeremyBanks please update the group re: status of this feature. You said a month or two 6 months ago
Oct 6, 2016 at 8:30 comment added iono This has taken so long and is so annoying! Please, it doesn't need to be to CommonMark spec, just add triple-backticks.
May 20, 2016 at 18:42 answer added jkdev timeline score: 15
Apr 11, 2016 at 23:36 comment added Jeremy The new Documentation system (currently in private beta) is using a different, CommonMark-based parser with support for fenced code blocks. Documentation should be out of beta within a month or two. Maybe we'll see that parser used elsewhere on the site, after it's been exercised for a little while.
Feb 19, 2016 at 11:51 comment added Mathias Bynens Updated link to the CommonMark spec (old URLs are broken): spec.commonmark.org
Feb 18, 2016 at 20:23 answer added Pacerier timeline score: 13
Feb 5, 2016 at 17:24 history edited samthebrandStaffMod CC BY-SA 3.0
Added "fenced" to this so I can find it next time.
Nov 21, 2015 at 18:41 comment added Phrancis I think this would be a fantastic addition and make it easier for sites that are code-heavy, which is a good bit of the bigger sites. Please implement this!
Jul 14, 2015 at 15:51 history edited BoltClock's a Unicorn CC BY-SA 3.0
actually indent the markdown sample
Sep 18, 2014 at 14:03 comment added balpha StaffMod @MathiasBynens Yep: twitter.com/balpha/status/509268034134224896. I just can't promise when I'll get to it.
Sep 18, 2014 at 13:57 comment added Mathias Bynens @balpha Given this syntax is now standardized in CommonMark, could this be reconsidered?
Sep 4, 2014 at 1:20 comment added Zhianc there's a spec already, I hope you can find time implementing this.
Jun 25, 2014 at 3:09 answer added Chris Martin timeline score: 56
Mar 13, 2014 at 21:23 comment added xenoterracide #1 feature for me, because pasting long blocks of logs/code/stacktraces is annoying without being able to do this. backticks, tildes I don't care, just give me a non indented format
Feb 20, 2014 at 21:07 comment added ChrisG Would be awesome. I'm craving for this a long time!
Feb 20, 2014 at 17:40 answer added Morgan ARR Allen timeline score: 0
Jan 16, 2014 at 13:56 comment added user248188 Fenced code blocks are less readable in raw, IMHO. Especially in larger texts. Having said that, in online posts convenience of input outweighs raw appearance by a lot. And the texts are quite short. So: - Fenced - for online posts, it's convenient to write - Indented - for files, it's more readable in raw I vote for the triple tildes/backticks, that is.
Aug 16, 2013 at 7:58 comment added Coderer @ThiefMaster on the US International keyboard I have the same problem, but you could type tilde tilde tilde <space> to get 3 tildes. That said, supporting an arbitrary number of tildes would be the best solution.
Apr 12, 2013 at 22:20 history edited Adam LearStaffMod
edited tags
Dec 31, 2012 at 19:01 comment added jcolebrand @gobernador you poor poor man. How have you not heard of regex NOR the alt-shift method in Windows? (since most of us use Windows) where you can use Notepad++ and alt-shift to block select a range of text (say for deleting column formated text, or inserting a string of spaces to the front of the text)
Nov 22, 2012 at 8:16 comment added balpha StaffMod @Mechanicalsnail I'm well aware of that :)
Nov 22, 2012 at 6:36 comment added Mechanical snail @balpha: codinghorror.com/blog/2012/10/the-future-of-markdown.html
S Aug 17, 2012 at 9:49 history bounty ended balphaStaffMod
S Aug 17, 2012 at 9:49 history notice removed balphaStaffMod
Aug 16, 2012 at 5:06 answer added user149432 timeline score: 81
Aug 9, 2012 at 22:58 comment added ajax333221 @gobernador what text editor are you using?, it is usually possible to indent the whole thing if it is selected and then insert some tabs. Or in the editor of this site, just select the whole thing and click the 'code' icon and will indent for you
Aug 9, 2012 at 17:38 comment added gobernador I can't count how many times I've gone through and put 4 spaces on the clipboard, then flew down the lines of code repeatedly hitting Ctrl+V, DownArrow, Home to indent the entire block.
Aug 9, 2012 at 15:31 comment added Tamara Wijsman @Chichiray: Clicking is easier than dragging as the latter requires you to aim such that you select the text right, and ` is a single key where Ctrl+K is not; as a result click ``` click ``` is faster to perform.
Aug 9, 2012 at 15:23 answer added Brad Mace timeline score: -2
Aug 9, 2012 at 15:21 comment added yoozer8 It's essentially possible to do this already (you can specify a code language) by just typing it out and then selecting it and pressing Ctrl+K (or clicking the code button), but this would greatly simplify the process.
Aug 9, 2012 at 15:20 comment added Pops I didn't know about dead keys before reading ThiefMaster's comment. Here's a convenient link to Wikipedia for others who need a quick overview.
Aug 9, 2012 at 15:12 history edited Mathias Bynens CC BY-SA 3.0
added 271 characters in body
Aug 9, 2012 at 15:09 answer added Mathias Bynens timeline score: 170
Aug 9, 2012 at 14:56 comment added user138231 @Tom: selecting code and pressing Ctrl+K (or the {} button in editor toolbar) seems easier than typing backticks six times at two different places.
S Aug 9, 2012 at 14:44 history bounty started balphaStaffMod
S Aug 9, 2012 at 14:44 history notice added balphaStaffMod Draw attention
May 17, 2012 at 10:03 comment added ThiefMaster When adding it, please consider handling four-backtick "fences" just like the regular three-backtick fences. On a German keyboard it's extremely annoying to enter an odd number of backticks since it's a deadkey and you cannot change it without side-effects.
Mar 11, 2012 at 15:33 history edited balphaStaffMod
edited tags
Mar 11, 2012 at 15:33 comment added balpha StaffMod This is a reasonable suggestion, we're considering it. A nice side effect would be that this kind of code block wouldn't have a "placed after a list" problem.
Mar 10, 2012 at 4:33 answer added ajax333221 timeline score: 14
Mar 9, 2012 at 20:35 comment added Greg Hewgill @BoltClock'saUnicorn: This feature wouldn't be intended for people who accidentally stumble across it, but for people who actually know it's there and find it is a more convenient method of posting code than indenting by four spaces (I would probably use it).
Mar 9, 2012 at 13:36 comment added BoltClock's a Unicorn Mod Sadly, not many people who mistakenly use backticks for multiline code blocks delimit them with three consecutive backticks. Like this idea though!
Mar 9, 2012 at 13:23 comment added cdeszaq Yes, I am aware of this, but for editing existing code, it would make things easier.
Mar 9, 2012 at 13:22 comment added Mathias Bynens @cdeszaq I should note that there is a button in the WMD Editor to turn the selection into a block of code (by indenting each line with 4 spaces), but still — selecting the text + hitting the button or even typing the keyboard shortcut takes much longer than simply typing the opening and closing backticks.
Mar 9, 2012 at 13:20 comment added cdeszaq +1 I think this would be great. Not having to worry about an extra 4-space indent when editing code the textbox would make it less necessary to pull it out into an external editor and then paste it back in.
Mar 9, 2012 at 13:18 history edited Mathias Bynens CC BY-SA 3.0
added 37 characters in body
Mar 9, 2012 at 13:10 history asked Mathias Bynens CC BY-SA 3.0