Questions tagged [markdown]
Markdown is a lightweight, plain-text, markup language. It is used across the entire Stack Exchange network for post formatting (Questions, answers, wikis, chat).
1,787
questions
0
votes
0
answers
24
views
Why does this code block has weird formatting? [migrated]
COMMAND and OUTPUT is formatted as italic in this post. I know <pre><code> can be used to format texts in code blocks but this answer uses just a normal code fence ``` ```. Here's the ...
14
votes
6
answers
390
views
Please, I want some more HTML
Stack Exchange supports a restricted subset of HTML. In some ways, this is good; but in others, it's a little too restrictive. It would be nice to have the following:
Elements
<details> / <...
3
votes
0
answers
61
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
3
answers
234
views
It should be more obvious how to add titles to images
There's a related feature request from 2010, but I'm not sure that feature request is necessarily asking for the right thing.
Image tags have two attributes - alt text and titles. The alt text is used ...
12
votes
0
answers
237
views
Url protocol should not be required for image links
It is possible to write links without specifying the protocol, in this manner:
[This is a reference-style link][some-link]
[This is an inline-style link](//stackexchange.com)
[some-link]: //...
0
votes
0
answers
41
views
Numbered list indentation shows in edit mode but not in normal mode - when using parentheses (")") [duplicate]
Look at this answer in normal viewing mode:
There is no numbered list indentation, so you might think about editing it using a dot, i.e. 1., instead of using a parenthesis i.e. 1), in order to fix ...
45
votes
1
answer
512
views
Markdown code for tags in older posts is rendered as text
We were able to add tags in a post using a special syntax, like this
[tag:example].
For older posts, they don't appear as tags anymore. Instead they are rendered as hypertext links. This bug is "...
1
vote
0
answers
39
views
Cannot paste into SE code blocks when Editing, breaks text editor and Markdown preview
There seems to be something wrong with the text editor when editing code inside ``` code blocks. I've noticed this when editing questions.
Copy code from my IDE
Edit a question
Highlight all of the ...
6
votes
1
answer
134
views
Incorrect rendering in all but answer list
If I visit https://android.stackexchange.com/a/205140/311449, the lists are how I expect them to be - correctly indented:
However, that same source code's rendering shall break, should I:
...
3
votes
0
answers
68
views
Too low baseline with italics in comments
I noticed that some of the italicized words in comments are too low, on at least one site. See I pronounce question as kweshtin. Is my pronunciation wrong? and also the following screenshot:
Comment ...
4
votes
2
answers
248
views
How can I make a reversed numbered list in a question or answer?
Numbered lists are easy:
Item1
Item2
This is how it looks when I'm typing this question:
Reversed numbered lists are not that easy:
Item2
Item1
This is how it looks when I'm typing this question:
...
-5
votes
1
answer
174
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, ...
2
votes
0
answers
89
views
Escaping a backtick with a backslash in backtick-delimited inline code seems to be broken
In the comments, you can use
`\``
to escape a (code formatted) backtick, like so:
resulting in
However, in question (and answer) posts, it doesn't work. It ends up looking like three backticks: ```....
1
vote
1
answer
145
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 ...
3
votes
1
answer
124
views
Post formatting is not accurate for numbered lists of code blocks. Is this a bug?
Compare the way this list looks in the post versus the screenshot of the preview:
text:
1.
{ label: `Baz ${x ? n1 : n2}`, kind: "B", } satisfies B,
1.
{ label: `Baz ${x ? n1 : n2}` ...
6
votes
0
answers
66
views
Inline code in blog contains raw markdown (backticks) instead of proper inline code
In the recent blog post on Rust & the White House, there's some unescaped Markdown:
(and Rust will let you explicitly mark code `unsafe`)
But suppose you can’t rewrite your entire C or C++ ...
3
votes
0
answers
59
views
Code formatting sometimes overflows to the right column
Here is an example in this now-deleted question:
Copy-pasting the problematic line here:
SELECT enterpriseid, lastUpdated, oldrecords,case when array_size(newrecords)>0 then ...
-11
votes
1
answer
213
views
feature request: make numbered list formatting less math unfriendly
As explained in this other post, numbered list formatting can be quite math unfriendly. Would it be possible to use a new numbered list, used on circles, squared or "bracketed" numbers, as ...
-13
votes
3
answers
649
views
What is the best formatting to quote an LLM/ChatGPT question/answer?
Say I want to mention what ChatGPT said. How is the best way to delineate what is the prompt and what is the response?
2
votes
0
answers
92
views
Markdown for links in comments sometimes breaks with angle brackets and nested square brackets
The following markdown:
[[example].com](https://www.example.com) (<https://www.example.com/abc>)
Produces this in a post:
[example].com (https://www.example.com/abc)
But this in a comment:
[[...
6
votes
0
answers
70
views
Markdown inside HTML tags breaks formatting when switching to Rich text mode
This behavior is relevant to the Stacks Editor (used by default in SO Teams, and as an optional mode here on MSE).
How to reproduce:
Enter the following text in Markdown (with preview) mode:
<sub&...
6
votes
0
answers
64
views
Moderator action popup doesn't support Markdown, but contains item with it
Moderator action popup has an option "convert to edit":
* text autotranslated to English
Original text here is:
Answers should be converted to an edit of the question when they represent ...
17
votes
1
answer
176
views
Space to first character after quote broken if full stop [period] used
If you quote a number & add a full stop after it, the formatting jumps off to the left.
> 1234
> 1234.
> 123456789.
> 1234567891.
1234
1234567891.
It seems it keeps moving left ...
7
votes
1
answer
133
views
Markdown errors in blog post about RAG
Editor note: While there's at least one other applicable tag, I'd like to leave it at four tags to allow for a status-* tag.
In this blog post, there's an unusual use of a code block to quote LLM ...
12
votes
1
answer
231
views
Mistake in code in recent blog post
The recent blog post looks like this:
Timing of the blogpost aside, can the post be updated to remove python at the start of the code block? I presume someone intended to set the language and instead ...
2
votes
1
answer
81
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 ...
14
votes
0
answers
115
views
Enhancement Request: Attribution Block Markdown
Over at Worldbuilding we constantly bring images and quotes in from outside sources. I suspect other Stacks do that a lot, too. When it comes to images, charts, and graphs, we want people to properly ...
1
vote
0
answers
76
views
Why is my MathJax formatting so messed up? [duplicate]
Just look at this mess.
The following source:
We have $G$ solvable, so that we can find a tower of subgroups
$$
G = G_0 \supset G_1 \supset\cdots\supset G_m = 1
$$
so that the conditions on ...
5
votes
1
answer
225
views
Unparsed Markdown in blog post "Ask like a human: Implementing semantic search on Stack Overflow"
Here is the blog post I'm referring to.
See this paragraph (link ommitted from paragraph as it isn't relevant here)
Building on the work we did to build course recommendations, we used the same ...
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. ...
2
votes
0
answers
57
views
URLs in double quotes are not resolved [duplicate]
There seems to be a bug inasmuch that there is a disparity between the auto-resolving of Stack Exchange URLs within double-quotes contained in posts in normal viewing mode and in edit mode.
Example (...
9
votes
3
answers
225
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 ...
4
votes
0
answers
87
views
Bolding in the first cell may remove it from the table
I noticed this bug in my Lit answer when I bolded the first column in some rows. The preview works (as it always does). The actual post does not, and those bolded cells are just missing:
...
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 ...
8
votes
0
answers
103
views
Missing a backtick from Markdown table in preview was well rendered, but not server side
Related: https://askubuntu.com/a/1464175/93706
In the table below, 1{print} is missing its closing backtick. The preview handles this well by having it render as plain text instead of code but when ...
5
votes
0
answers
88
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 ...
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
...
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 ...
4
votes
1
answer
232
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 ...
1
vote
1
answer
72
views
What is the proper way to emphasize the central sentence of a question (if there is any)?
It's quite common for authors, in the post body, to emphasize a sentence which is 'central' to their question. It's often similar to the title, and for well-written questions with some introduction, ...
5
votes
0
answers
38
views
Image markdown - remove to re-add isn't smooth
If I edit a post to swap a quick phone snap for a properly cropped version, straightened & punched up in Photoshop to be more legible, better exposed [a dozen reasons I edit many photos a day ...
7
votes
0
answers
103
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.
4
votes
1
answer
73
views
Markdown rendering changed for this quoted bullet list
This answer contains some quoted bullet list that used to be better displayed. What happened?
In 2017:
Now:
4
votes
0
answers
57
views
Text following a setext heading in a <pre> blocks is rendered in editor preview as non-pre-formatted text
I noticed that if one puts a setext heading and some following text inside a <pre> block, the text following the setext heading gets rendered in the editor preview as non-pre-formatted text.
My ...
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:
...
20
votes
0
answers
156
views
Email does not support SE-style Markdown, to everyone's disappointment
I just received an email from Stack Overflow community support, checking in with me about why I haven't taken moderator activites on Constructed Language Stack Exchange lately. The answer is simple; ...
3
votes
0
answers
290
views
Font size in the Stacks Editor when editing Markdown is too small; please increase it to match current editor
I've been using the Stacks Editor's Markdown preview mode, and I've found the font size to be a bit too small, which makes the text harder to read for me.
Here's how it looks like in Microsoft Edge on ...
5
votes
0
answers
77
views
Direct links don't render when inside square-bracketed text, although the preview shows them correctly
Normally, pasting the URL of a Stack Exchange post (from the same site that you're posting on) results in it being rendered into hypertext showing the title of the post. This is a nice shortcut for ...
7
votes
0
answers
75
views
Links in comments delimited by less-than/greater-than signs occasionally include the delimiting greater-than sign
Over at Stack Overflow, I wrote a comment that renders like this:
and links to https://wg21.link/p2128>, which returns 404.
The way I wrote the link in the markup is <https://wg21.link/p2128>...
16
votes
0
answers
225
views
Special characters in moderators' names break formatting in 'whois' response
The Teachers' Lounge has a chatbot with a whois function listing moderators for a specific site. The response is in italics, but it's a Markdown message, and moderator names with an underscore at the ...