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
6
votes
0answers
30 views

Headline format differs in preview from published [duplicate]

On SO I was just editing an answer when I noticed this. In the preview the headline appears large & bold: but in the published version it is just followed by an HR: I was editing https://...
6
votes
1answer
89 views

How can I typeset a crossword puzzle using Stack Exchange markdown?

I'm wondering if it's possible to typeset crossword puzzles using Stack Exchange markdown. I'm after something like this: Love-ins? A capital idea for a cryptic crossword However, I want it to ...
3
votes
0answers
54 views

Markdown in comments does not parse backtick code spans with a leading space [duplicate]

Markdown in comments does not parse backtick code spans with a leading space, e.g. ` foobar`. Markdown in posts does. Example: Note: I don't know whether this is related to CommonMark, because ...
13
votes
1answer
92 views

Bad Markdown rendering (but not preview) when using «guillemets»

What I did (and what the preview showed correctly): Similaj vortoj ekzistas en la germana («*[die] Rektion*»), la nederlanda («*[de] rectie*»), kaj eĉ la suoma («*rektio*»). What I got: Similaj ...
4
votes
0answers
24 views

Missed commonmark migration target: tag wiki uses the same engine too!

With the migration of the render to CommonMark, tag wiki were not included in the checks and tweak for the new render. This leaves potential issues with headings and lists that are rendered ...
-9
votes
0answers
57 views

Can I embed iframe in answers? [duplicate]

I have some custom animation on HTML5 canvas using javascript. I wanted to used those animation in answering some question on stack-overflow. I understand we can use animated gifs in answer but would ...
1
vote
1answer
135 views

HTML comments break formatting from that point

I was writing up a signpost support question on our site meta. That post included a link which would need to be updated to another such question once asked. I therefore wanted to include an HTML ...
3
votes
0answers
35 views

Editor preview shows links clickable, final rendered post doesn't, when surrounded by [] [duplicate]

[https://example.com/] appears as a clickable link in the preview, but not in the final render when saved. This applies to at least the inline editor (tested on Stack Overflow) and question-ask page ...
6
votes
0answers
71 views

Quoted headings are rendered properly on preview but not when posted

With markdown, you can use some dashes for headings. For example, this: Hello ---- this is some other text renders as this: Hello this is some other text This is fine and works well. When I want to ...
6
votes
0answers
94 views

<s>links</s> are autocompleted on preview but not rendered when posted [duplicate]

Using question links conversion into links with titles, if you paste https://meta.stackexchange.com/q/350279/209901 in a post, then it gets converted into a proper link to that question: Does <...
-8
votes
1answer
73 views

Markdown: Code directly after a list (and not as part of that list) [duplicate]

Sometimes, when I answer a question, I use a list to explain things and add some code after that, for example: argument 1 is hoppa argument 2 is klap argument 3 is klap command hoppa klap klap The ...
13
votes
1answer
120 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 ...
-2
votes
1answer
72 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
55 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
104 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
76 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
95 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 ...
10
votes
1answer
284 views

Link renders differently on client and server side when preceded by a special character

When editing a question on History of Science and Mathematics, I observed that a link which was not rendered in the post was hyperlinked in the edit preview (see pictures below). I tried reproducing ...
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
178 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
156 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
55 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
46 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
226 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
136 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
636 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 ("_")...
561
votes
50answers
56k 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
169 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
67 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
111 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
140 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
106 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
91 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
99 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
113 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
70 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
105 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 ...

1
2 3 4 5
36