Linked Questions
23 questions linked to/from Implement ```-style (fenced) Markdown code blocks
2
votes
1
answer
543
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
1
answer
258
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 ...
4
votes
0
answers
61
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
0
answers
33
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 ...
653
votes
322
answers
97k
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.
You may also want to take a look at the ...
814
votes
16
answers
79k
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 ...
0
votes
623
answers
17k
views
Sandbox archive
This post exists purely to house answers formerly attached to the formatting sandbox. You can safely ignore it.
635
votes
1
answer
138k
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 bug ...
169
votes
9
answers
12k
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 ...
30
votes
1
answer
27k
views
Where is the list of language names supported by the markdown fenced code blocks? [duplicate]
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
1
answer
2k
views
Make first line of code empty in code block
If you write code you usually start by making 4 spaces which starts a code block.
This does not work when the first line is empty.
The line above this one should be empty and gray like the one below
...
-4
votes
1
answer
332
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 ...
5
votes
1
answer
621
views
How do I post Markdown code in a Stack Overflow question? [duplicate]
I have a question about some Markdown code not displaying as expected that I would like to ask on Stack Overflow. If I add the code (which includes triple-back-ticks), it is obviously rendered as an ...
2
votes
2
answers
255
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 ...
2
votes
1
answer
231
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 ...