All Questions
574 questions
648
votes
304
answers
92k
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 ...
1
vote
1
answer
133
views
How can I ensure line breaks inside block quotes are rendered as entered in the markup?
At least in the editor preview, this doesn't render linebreaks:
> foo
> bar
> baz
foo
bar
baz
Screenshot:
Is this a problem of my browser? Or something else? On StackEdit it works as ...
731
votes
6
answers
355k
views
How do I escape a backtick ` within in-line code in Markdown?
How do I escape a backtick ` within a code block?
This is probably a duplicate, since I'm sure it's a common concern, but I can't find a question that addresses this specifically.
How do I write ...
3
votes
0
answers
65
views
Workaround for bug causing \ before dollar signs to be rendered as \\\ on MathJax enabled sites?
As the title says, a single \ in a code block is being rendered as \\\ if preceding a $. This seems to be the same bug reported here, but since it hasn't been fixed, I am asking for a workaround. ...
-5
votes
1
answer
180
views
HTML tables are unusable [duplicate]
I want to modify https://stackoverflow.com/revisions/56857772/2#:~:text=http%3A%2F%2F%20www.%20example,user%20%40%20example.com
Source
The following **bold** parts of URLs *may* be case-sensitive, ...
1
vote
1
answer
152
views
Bold text conversion doesn't work across paragraph break
When there is a paragraph break between two bold codes (double asterisk), the asterisks are displayed and nothing is bolded. Is it a bug, or intentional?
Possibly related; not duplicate: Markdown ...
272
votes
7
answers
402k
views
How to write nested numbered lists
I just posted an answer on Stack Overflow where I wanted to have nested numbered lists, something like
1. Dog
1.1. German Shepherd
1.2. Belgian Shepherd
1.2.1. Malinois
1.2.2. Groenendael
1.2.3. ...
483
votes
2
answers
26k
views
How can I format as keyboard keys? [duplicate]
Some answers contain characters that look like keyboard keys. They look like
Ctrl + E
What markup do I need to add to make Ctrl and E look like actual keys?
That's not mentioned in the formatting ...
201
votes
7
answers
267k
views
Does Markdown have a way to express strikeout?
I've been using <s> to put strikeout in posts -- is there a Markdown way of doing it?
It seems like -[Text here] would make sense, hehe :)
326
votes
5
answers
159k
views
How to nest code within a list using Markdown [duplicate]
Oftentimes, I want to include code samples in a list, for example:
Item One
Item Two, for example:
private bool ItemTwo()
{
return this.IFeelLucky;
}
Item Three
The problem is that there isn't a ...
302
votes
5
answers
27k
views
Keyboard Glyphs
How are people showing keyboard "glyphs" on Super User? I looked at the Markdown help page and it didn't show anything regarding this.
Here is an example. (question has been deleted since ...
229
votes
5
answers
61k
views
How can the backtick character ` be included in code?
I tried before to post a shell script that contained a ` character as an answer on Stack Overflow. The parser insisted on treating the backtick as formatting instead of part of code.
How can I ...
9
votes
3
answers
233
views
How to escape spoiler in blockquote that starts with exclamation point
How can I "escape" the spoiler syntax when putting some text in a blockquote that starts with an exclamation point?
https://webapps.stackexchange.com/a/170880/267540
Here is the text that ...
2
votes
1
answer
88
views
Produce a continuous bar on the left side of a blockquote of several paragraphs [duplicate]
I have an issue producing a continuous bar on the left side of a quotation if there are several paragraphs. If I push them together the bar becomes continuously, but the whole text isn't separated in ...
400
votes
1
answer
279k
views
How do I format my code blocks?
How do I post text so that it is formatted as code?
What do I need to do so that my code shows up properly — not escaped or removed — when posted? And how to get the correct syntax ...
180
votes
6
answers
116k
views
Links to URLs containing parentheses
How do I add a link to a URL containing parentheses () (or "round brackets" by heathens)?
For example:
http://msdn.microsoft.com/en-us/library/aa752574(VS.85).aspx
The parentheses around &...
12
votes
2
answers
676
views
Why has the parsing of the in tables changed?
I am used to using the HTML character to visually fill out the width and/or height of tables so they are used to their full potential:
So that instead of this:
I get this:
...
546
votes
1
answer
284k
views
What HTML tags are allowed on Stack Exchange sites?
Stack Exchange sites use Markdown for questions and answers. Per the Markdown specification, intermixing HTML and Markdown markup is allowed, but not all the HTML tags are allowed, to avoid XSS.
Which ...
167
votes
5
answers
46k
views
How can I write a math formula in a post?
I want to ask something that contains a mathematical formula.
How can I write the equation? Is there a page that shows the syntax?
I thought there must be some syntax like in Wikipedia or ...
106
votes
4
answers
17k
views
How do I use superscript and subscript characters in questions?
When I need to ask questions, occasionally, I'll need a super or a subscript letter or number for pseudo-code or math equations.
I've seen this done in answers of this question: Special superscript ...
150
votes
3
answers
19k
views
How do I use formatting in comments? [duplicate]
I see some people write comments that are for example - in italics.
I do not see any way of doing that while writing my comments. Why is it so?
3
votes
1
answer
82
views
Code highlighting and image placement breaks despite correct syntax
Signal Processing answer, normal vs preview:
It's only toward the bottom of the post, yet it doesn't happen toward bottom of a much longer post. I confirmed it's also reproduced only with the ...
133
votes
4
answers
108k
views
Is it possible to have definition lists in Markdown?
I just wrote this question and was wondering if there's a MarkdownSharp syntax for specifying a definition list -- it would have made specifying those function arguments a bit more natural...
If ...
136
votes
4
answers
42k
views
How do I use a small font size in questions and answers?
Is there any way to use a small font size in questions or answers? That is, for the purpose of minor and possibly irrelevant information?
I've checked the Markdown syntax but couldn't find anything. ...
179
votes
1
answer
323k
views
Creating an image link in Markdown format [duplicate]
How can I create an image link using the Markdown format? I want an output like <a href="" rel="some text"><img src="/path/to/file" alt="" /></a&...
4
votes
0
answers
214
views
More fun with "Your post appears to contain code that is not properly formatted as code."
I have tried to post the following to Stack Overflow:
I have a very simple HTML form embedded in an email I send to people who have subscribed to my blog so they can confirm their email addresses. ...
55
votes
5
answers
7k
views
Why can we format text with bold and italic but not underline?
Why is it that italic and bold formatting is available while underline is not?
I guess it is voluntary, I'm just wondering why that would be the case.
3
votes
3
answers
146
views
What tool is there for creating Stack Exchange markup language tables which do not involve typing the tables one key-stroke at a time?
The Stack Exchange (SE) network has many different websites to support the learning of natural languages.
Links to some of these SE sites are provided below:
German / Deutsch |
Spanish / Espanol
...
4
votes
1
answer
244
views
Why aren't two subscripts in same line allowed in MathJax?
I'm trying to write the following equation on math.SE:
(\mathcal L_r \eta)_{\mu_1...\mu_p}=(r+p)\eta_{\mu_1...\mu_n}
However, you will find that if you put this expression between dollar signs, it ...
8
votes
2
answers
198
views
How can I find posts with particularly large code blocks in a non-code-based site?
From time to time in Space SE a question or answer about a calculation will need to share a significant amount of tabular data, say 100 or 1000 lines. It needs to be forever available to future ...
146
votes
3
answers
167k
views
How to combine bold and "code sample" in Markdown? [duplicate]
How can I make a word in a code sample bold? I only see asterisks around the expected bold text.
sample **sample** sample
33
votes
1
answer
7k
views
Which Stack Exchange sites have syntax highlighting enabled?
The code syntax highlighting feature is only enabled on certain sites. In order for code to be highlighted and for any of the hints listed in the above question to work, the Markdown extension has to ...
140
votes
2
answers
57k
views
What's the recommended syntax for an image with a link?
What's the recommended syntax for an image with a hyperlink? I tried doing it
with the markdown toolbar buttons and the image and link buttons conflict
with each other, so I had to resort to HTML.
For ...
4
votes
1
answer
2k
views
Change font style Markdown
Is there a way to change the font family on Markdown? Specifically, for the code and regular text. I've seen this feature in Markdown editors and viewers, but I'm not sure if it can be exported.
1
vote
1
answer
272
views
How to apply special formatting within a question’s title, e.g. to highlight a keyword such as … 𝙇𝙞𝙣𝙪𝙭?
Have a look at the formatting of the title of the question “What does the ASCII art on the 𝘼𝙢𝙖𝙯𝙤𝙣 𝙇𝙞𝙣𝙪𝙭 2 𝘼𝙈𝙄 MOTD mean?”, and notice that some of the words used in the title (such as 𝙇�...
145
votes
2
answers
17k
views
How to strike text? [duplicate]
Sorry but I couldn't find this info. How do I strike the text?
1
vote
1
answer
82
views
Long, formatted spoilers: word wrap? [duplicate]
So we have ye olde spoiler:
Ah. But you want a fancy spoiler. We can do that too, by using pre html tags.
But suppose you want a spoiler that is both fancy and somewhat lengthy. Is there a way to ...
7
votes
1
answer
141
views
Is the language name case sensitive for syntax highlighting?
I often use the syntax-highlighting feature of Stack Exchange in order to make my code easier to read.
```lang-python
for k in range(0, 10):
print(k)
```
for k in range(0, 10):
print(k)
...
11
votes
1
answer
1k
views
Hyperlinks do not work if they are inside square brackets
I can imagine situations when somebody might include a bare URL in post. And the link might even be between [ and ] - if it is a part of some explanatory remark.
It seems that in such cases the link ...
4
votes
2
answers
5k
views
How can I properly embed a code block into a Markdown table cell? Alternatively, how can I insert newlines into a code block without using `Enter`?
I have the following fenced code block:
```<br>a = 1<br>b = 2<br>```
I would like to replace the <br>s with some other character ?, so that it acts like a newline, so that the ...
3
votes
1
answer
81
views
How can I change the Markdown of a post that was created using the "Ask Wizard"? It's formatted using 'heading' formatting
Take a look at this (badly asked) question: When I try to implement the project it fails and I get this error
I tried to change the Markdown of the question since the text is enlarged and in bold:
...
13
votes
3
answers
2k
views
How can I use the pipe (|) symbol in a table?
I must use the pipe (|) symbol in a table cell. How can I do that? Is there an escape character for it?
For example:
|Code |Comment |
|-----|----------|
|a | b|Comment 1 |
Table:
Code
Comment
a
b
...
18
votes
5
answers
37k
views
How to type a dash (— or –) instead of a hyphen(-) in Stack Exchange?
On Mac and some other systems, typing two hyphens quickly "--", would be automatically converted to an em dash "—" or an en dash "–" depending on the setting. But Stack Exchange fields are different, ...
14
votes
0
answers
183
views
What Replacement Strings are available for use in Community Specific Close Reasons?
I've been working on a project to update some of our Community Specific closure reasons on Stack Overflow.
In my research, I've been looking network wide at our various community's closure reasons. I'...
27
votes
1
answer
679
views
What site-specific post formatting settings are available?
Certain Stack Exchange sites have specialized support for non-standard types of post formatting.
Tim Post briefly mentioned these when discussing site-specific configuration settings, but he didn't ...
40
votes
4
answers
86k
views
Is the dollar sign ($) used for markdown? If yes, then how can I safely insert it?
I want to write something basic like "10 $US" but sometimes it makes the text look weird. It changes the font and writes italic text. And sometimes it will insert a newline. For example in my answer ...
5
votes
0
answers
91
views
Comment markdown formatting doesn't render correctly when immediately followed by a forward slash
Consider either of the following Markdown formatting examples:
a**b**/c
a*b*/c
They will (as expected) render as ab/c and ab/c, respectively, in posts. However, in comments, it does not work for some ...
7
votes
1
answer
157
views
Chemistry equation \ce modifier works in a non chem SE site's posts, but not in search results. Should we consider it "working" and start using it?
In Space Exploration SE there are a lot of questions related to chemistry (mostly production and combustion of rocket propellants and air/water for people) and after six years there I just this moment ...
7
votes
0
answers
120
views
Can one use Markdown in the contact page?
I wonder whether using Markdown in the contact page (https://meta.stackexchange.com/contact) will be properly rendered to the readers.
19
votes
5
answers
653
views
How can I separate multiple quote blocks?
I have a series of quotes which I want to display in two separate quote blocks.
> Are questions about Microsoft Word Online on-topic here? I don't
> really see any posted here, but perhaps I am ...