Linked Questions

2
votes
1answer
303 views

Triple backquote for code snippets [duplicate]

I find the 4 space indentation to include code snippets unnecessarily difficult to use. Typically, when you copy and paste some code it requires manually reformatting each line (unless there's some ...
-1
votes
1answer
111 views

Using ``` to define code sections [duplicate]

My apologies if this is asked somewhere else, or if this isn't the right place to ask it. One of the elements of Github flavored markdown that I really appreciate is the ability to use a triple ...
0
votes
0answers
50 views

Can we get code block markup like GitHub has? [duplicate]

Possible Duplicate: Implement ```-style Markdown code blocks I just wrote an answer to a question where instead of indenting my code blocks with 4 spaces, I did it like they have on GitHub. ``` ...
2
votes
0answers
47 views

Can we add the triple backticks feature for code formatting in markdown? [duplicate]

Disclaimer: My request is about using the same markdown format used in GitHub for code blocks and syntax highlighting. In most recent markdown formatters, other than the 4 space indentations, we can ...
1
vote
0answers
19 views

Improve Code Sample button when nothing is highlighted [duplicate]

When you write a post, you can press "code sample" button on empty line. This causes the following output to appear. Code: enter code here Result: enter code here Well, you may think ...
583
votes
98answers
69k views

Formatting Sandbox

Notes: Answers will occasionally be moved to the Sandbox archive when there are too many of them. When using them to report bugs, keep an eye on the post. This site, Meta Stack Exchange, is usually ...
771
votes
12answers
71k views

Recent feature changes to Stack Exchange

This is an unofficial list/changelog of new features and various changes to Stack Overflow and the Stack Exchange network. It is maintained by the community, while a Stack Exchange employee changes ...
508
votes
1answer
83k views

What is syntax highlighting and how does it work?

I noticed that sometimes my code gets highlighted in different colors when rendered. What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a ...
161
votes
9answers
9k views

Code block is not properly formatted when placed immediately after a list item [duplicate]

Consider the following piece of Markdown code: This is some regular text. >>> def factorial(n): ... return 1 if n < 2 else n * factorial(n - 1) ... * This is a list ...
10
votes
1answer
3k views

Where is the list of language names supported by the markdown fenced code blocks?

Related to Implement ```-style (fenced) Markdown code blocks On this answer I used ```makefile and it is "working" the highlighting: However, on this other answer, I am also using ```makefile and it ...
-4
votes
1answer
261 views

GitHub-style code blocks not recognized when updating code per jsFiddle warning

I edited a question on Stack Overflow adding a jsFiddle link to a sample fragment. Stack Overflow said: Links to jsfiddle.net must be accompanied by code So I added: ``` ... my code ...
2
votes
1answer
215 views

What's happening to StackOverflow's code formatter?

I answered this question on StackOverflow: How to calculate time taken to load url in UIWebView in iphone? It has been now edited, but the problem with the original revison is, the code in the ...
9
votes
1answer
144 views

Weird things happening with the new fenced codeblocks

If I type this code using the new fence-style code blocks, it displays fine: #include <stdio.h> int main(int argc, char** argv) { int i = 6; while(i --> 0) printf(i); return 0; }...
2
votes
2answers
164 views

Problem getting code to format completely (Ctrl + K, ```, manual space)

solved per accepted answer. I would also encourage readers to read @Nathan Tuggy's answer, which has some related details that may help you understand the issue more quickly Question I have some ...
4
votes
1answer
96 views

Formatting text for better clarity

My questions get downvoted until someone formats it into the required format. For example, if I use an exponent as a^b, people edit it out to its correct form. On looking closer, I found that they use ...

15 30 50 per page