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).

Filter by
Sorted by
Tagged with
9
votes
1answer
89 views

Can we warn users if the first line of a code block is silently discarded if placed on the same line as ```?

Here's an example. If a user types following into the question box: ```#include <iostream> int main() { std::cout << "Hello, world!\n"; } ``` It will look like this: int ...
-1
votes
1answer
69 views

Automatic edits prevent users from edit when retagging only [duplicate]

Usually it is possible to add a missing tag to a question without editing the question. However, while editing some questions, the editor makes invisible changes automatically, as for example in ...
2
votes
0answers
52 views

Markdown inconsistency between preview and post when using blank lines [duplicate]

This happened in an answer on Code Golf.SE, where we have all sorts of uncommon programming languages to put in a code block. OP's code is copied here at the markdown level: bbcccbc-cc-b--b-- c b &#...
13
votes
1answer
87 views

Discrepancies in CommonMark rendering

One of the users on Stack Overflow pointed out that the rendered version of some posts is not what the preview or revision shows. After triggering a re-render the glitch was gone, but since it is not ...
6
votes
1answer
71 views

Does <Shift> + <Enter> create lists automatically if the line starts with a dash or a bullet?

I just noticed that if you have some text and you add a dash in front of the first character, then when you hit Shift + Enter before any character in the text, then it gets rendered as a list. This ...
7
votes
1answer
94 views

Is there a way to put bold text after a punctuation sign in comments?

According to this announcement (is this the last announcement on the matter?), Markdown emphasis (bold or italics) inside a word is possible, as long as it does not happen directly next to a ...
6
votes
0answers
135 views

CommonMark: Link rendering differently on client and server sides

When editing a question on HSM, I observed that a link which was not rendered in the post was hyperlinked in the edit preview (see pictures below). I tried reproducing it in the Sandbox to see if this ...
6
votes
0answers
58 views

Provide a proper way to indicate error messages that is visually distinct from quotes and actual code

Error messages are a fairly common thing to mention, in both questions and answers, across many Stack Exchange communities. I think it would be valuable to have a markdown syntax to denote error ...
3
votes
0answers
37 views

Strikethrough markdown not rendering on post, but works on preview [duplicate]

I just made an edit to a question on an SE site. I wanted to strikeout some of the text, so I used the ~~ wrap to do this. I could see this correctly applied in the preview. However, after posting the ...
6
votes
0answers
176 views

Commonmark -> CommonMark typo in automated CommonMark migration

Commonmark -> CommonMark typo in automated CommonMark migration Example from https://travel.stackexchange.com/posts/157697/revisions
-7
votes
3answers
149 views

Scan posts for nonsensical HTML comments [duplicate]

Currently, SE accepts HTML comments (e.g. <!-- this is an HTML comment -->) as valid input for posts but they don't appear (since they are comments) this allows some users to get around the 30 ...
3
votes
0answers
52 views

With CommonMark, will named anchor tags be supported?

I figured this had been asked by now, but I guess not, or maybe I didn't find it when I was searching. I commonly want to provide anchor links in answers (esp. when creating footnotes), but SO ...
2
votes
1answer
45 views

Language hint in list breaks list in StackExchange sites but not in Meta [duplicate]

I'm trying to add a language hint to a snippet in a list item like so: - A list with code: <!-- language: lang-none --> some code with follow-up... - Another item In the Meta ...
12
votes
2answers
222 views

Automated CommonMark migration ruins long list items

I just noticed that the Community user edited some of my Meta Stack Overflow posts to CommonMark. It would appear (I'm pretty sure, but there's no way to know now because the renderer has changed) ...
4
votes
0answers
29 views

Empty line missing in example in Advanced Links section on Markdown help page

The example in Advanced Links looks: Here's a <span class="bg-black-200">[poorly-named link](http://www.google.com/ "Google")</span>. Never write "[click here][^2]&...
17
votes
1answer
134 views

Image upload and hyperlink tools fail to generate markdown until you type something into the text editor

The image upload and hyperlink tools in the markdown toolbar don't seem to be uploading images/posting link markdown until something is entered into the text editor. The failure for the image uploader ...
23
votes
1answer
608 views

CommonMark migration is causing license changes when it should not

CommonMark migration has begun! Sites across the network have been scheduled for formatting migration, and some of them (Meta Stack Exchange included) have already finished their migration. It was ...
2
votes
0answers
41 views

A number next to a single asterisk disables Markdown formatting (italics) [duplicate]

When composing a post on any Stack Exchange site using Markdown, it appears that when one tries to put a number and some italisized text next to each other, neither asterisk ("*"), nor underscore ("_")...
558
votes
50answers
55k views

We're switching to CommonMark

I’m Ham and I’m a developer on the Teams team here at Stack Overflow. Over the past few months, I’ve been heads down working on the way we turn Markdown into HTML when writing and editing posts across ...
-3
votes
1answer
49 views

Blockquotes should be formatted to support bullet points and numbered lists [duplicate]

I was proposing an idea on a MA.meta, and I noticed that you cannot use bullet points inside a blockquote. To show what I mean, here are some images: Part of the original post I was trying to quote ...
8
votes
0answers
63 views

Why does this post show ``` at the end of a code block?

Here is a post on Game Development Stack Exchange which uses the newish fenced code blocks, i.e. the ones starting and finishing with a triple backquote: ``` [insert code here] ``` As you can see, ...
11
votes
1answer
88 views

Line after blockquote in spoiler not a spoiler?

When putting a blockquote in a spoiler, the line(s) after the blockquote are not hidden; this does not seem to be the behaviour I would expect? Hovering over the spoiler reveals the hidden text as ...
14
votes
1answer
168 views

Markdown help page is broken (badly presented/formatted) on every site

In the Markdown help I see: Is that what the help is supposed to say and look like? Because it doesn't make sense to me. As animuson points out in a comment, all of the highlighted example text is ...
1
vote
1answer
66 views

How to write a ` symbol inside a code block [duplicate]

How can I write this symbol: ` inside a code block in just one line? As the code blocks are defined by: ```, I am not able to write one of these inside the code block.
-1
votes
1answer
110 views

Can not attach an image file to my post on Cross Validated

I've posted a question here: Chi-square test restriction for contingency tables with observed counts I'm not able to attach a picture file with the table I've mentioned in the question. The markup ...
10
votes
0answers
125 views

Why aren't description lists formatted on Stack Exchange?

Description lists, formerly known as definition lists, are a form of HTML markup. While they are not a part of Markdown, they may be created on Stack Exchange through inline HTML. However, they ...
-8
votes
1answer
99 views

What is Markdown for underscore/underline? Is there any? [duplicate]

Is there a way to make underscored/underlined text? I read editing help and there seem to be nothing about that. By underscored I mean what in HTML is done with <u>...</u>: Alice wanted ...
1
vote
1answer
89 views

Fenced code markdowns in posts before 2019 doesn't render correctly

This answer on Ask Ubuntu was posted in October 2016. The last revision was made then only and there answerer used fenced code markdown (```) which at that moment wasn't introduced on Stack Exchange. ...
1
vote
0answers
98 views

How can I explicitly show the return value of a code snippet/sample

Is there an commonly accepted way (best practice if you wish) to show the return value of example code in markdown? One solution is to add a comment at the end of the function, but I am concerned ...
4
votes
0answers
113 views

Please document that Spoilers don't work (or fix 'em)?

Isn't it pretty simple to edit the text at https://meta.stackexchange.com/editing-help/#spoilers to document in the right place the problems pointed out again and again, e.g. Consecutive spoiler ...
5
votes
1answer
110 views

Cannot post my question because of code formatting [closed]

I tried to post a question on the Mathematica forum, I spend a hour writting it correctly and I have the following error when I want to submit it : "Your post appears to contain code that is not ...
-5
votes
1answer
85 views

How can I diminish the link, writing few words? [duplicate]

When I copy a link and paste it, it can be so long. I need to shorten it. How can I do that? How can I make a link from one word? For example, the word here.
4
votes
1answer
104 views

Still trying to learn some basic formatting — can I say “click here to skip this section”?

I post mainly to Aviation Stack Exchange. Please let me know if the "chat" feature of ASE, or any other place, would be a better place to ask this question. I am still in the process of learning ...
3
votes
0answers
64 views

Square brackets in hyperlinks is broken in comments

On all Stack Exchange websites, using square brackets in a hyperlink like in the following Markdown code is correctly translated into HTML in questions and answers, but not in comments: [[class....
6
votes
0answers
52 views

Markdown 'tag:x' fails to render tags with non-ASCII characters as tags

In Markdown posts or comments, [tag:x] is supposed to create a little tag icon + link. However, this fails for non-ASCII characters: [tag:featured] results in featured, which is correct [tag:важное] ...
7
votes
0answers
69 views

Formatting help needs to show how to do keyboard key markdown

Related to: How can I format as keyboard keys? The markdown editing help page, here for example: https://superuser.com/editing-help , does not include this example.
6
votes
3answers
117 views

Fold a big chunk of text in a question

Is it possible to fold a big chunk of text in a question? In my case I need to paste this html into this question. I need this, because, the big chunk of text is relevant for the question, but is ...
12
votes
2answers
191 views

Preventing word-breaking in flowed paragraphs

In questions and answers, I would sometimes like to keep a whole string together, to avoid what's happening to the string [![:print:]] here: Is there a trick to avoid breaking a short string? In ...
0
votes
1answer
101 views

How can I shade and finish shading a quote, and how can I use a thick font for a phrase?

I am not expert in computers. I write posts, comments and answers, but I can't shade the quotes with the yellow colour. How can I shade and finish shading of the quotes? How can I write a phrase or a ...
3
votes
1answer
134 views

Why am I getting a “code not properly formatted” error?

I know this question is asked a lot, but I looked at those answers and don't see an obvious place where that would apply to my post. I'm trying to post the following to Stack Overflow, but it won'...
16
votes
1answer
151 views

Can we get diff markup/markdown within posts?

I just realised recently how useful it would be to show diffs in posts. Mostly on programming sites, but it could be useful on language sites as well. For Stack Overflow, Software Engineering, etc.: ...
8
votes
2answers
131 views

Fix misuse of code formatting in “Comment everywhere” privilege documentation

The "comment everywhere" privilege documentation refers to the "add a comment" link using code formatting. This may mislead people into thinking that code formatting should be used for English quotes,...
6
votes
2answers
140 views

Can I wholly replace a graphic with another one?

I have an image that I use over and over... I am savvy to how SE stores images on Imgur. So whenever I insert it, I find the URL of the image https://i.stack.imgur.com/Gh0yO.png, and tell "post image"...
4
votes
1answer
129 views

Why there is no command to center images?

Why there is no formatting command to center images in Stack Exchange posts?
21
votes
1answer
248 views

Why does the following Markdown (blockquote, code block, #) render the way it does?

Why does the following Markdown: > ``` # test render as it does? <h1>test</h1> Yes, you see that right: the # is converted even though it's inside a code block. Furthermore, it's ...
5
votes
1answer
1k 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 ...
6
votes
0answers
64 views

Is it possible to add a “Formatting” section to the “How to ask a good question” page?

So I just cleaned up this question on SuperUser: Look at what was originally posted in the revisions history to see what I mean. I was going to post a comment regarding how proper and basic ...
2
votes
1answer
59 views

How do you type `\` inside a codeblock in chat?

I showed someone in the Bridge how to make a shrug emoji (¯\_(ツ)_/¯) and while discussing the use of backticks, code blocks and backslashes in markdown, I realized that it's impossible to type ...
3
votes
1answer
33 views

Allow access to per-site meta posts' code via edit

The edit option is useful not only to edit, but also (and more importantly to me) to know/copy-paste the code that the user has typed in to obtain the given display. Yet when I try to use this on ...
11
votes
0answers
116 views

Beautify Wikipedia links

There is some support on SE for rewriting links to a question with the question title; for instance, if I add a bare link of the form https://meta.stackexchange.com/questions/49433/replace-trilogy-raw-...

1
2 3 4 5
36