Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
vote
1answer
42 views

Bug in quote found on Stack Overflow [duplicate]

I posted this question on Stack Overflow, and noticed the following behavior. The following quote does somehow cut the rest of the sentence: 'DoSomeList' cannot be used as type parameter '...
-2
votes
2answers
67 views

Can I use the Stack Exchange markdown techniques in my own site?

When I develop a website, the client almost always requires me to give them edit privileges without referring back to me, i.e. they want to edit the site's content themselves. So, in such scenarios, I ...
4
votes
0answers
28 views

Tag popup for `[tag:]` markdown no longer working in posts

When hovering over a tag 'under' a question, a popup with extended information is shown. While the usefulness is under discussion, and people like me write userscripts to fill the gaps, I noticed it's ...
2
votes
1answer
57 views

How to explain abbreviations without the disallowed <abbr> HTML tag?

How can tooltips be currently added to abbreviations as long as the <abbr> HTML tag is unsupported? Is there a Markdown equivalent or other workaround?
1
vote
0answers
32 views

How do I write a comment which contains commands that contain the character ` (backtick)? [duplicate]

I would like to use in a comment the following command: How can I do that so that character " ` " before and after the word "Private" is visible?
5
votes
1answer
72 views

When should I use <kbd> vs [tag:tagname]? [duplicate]

I've seen that the <kbd> element is used in a lot of questions and is used to reference a tag. But I've also seen questions that use [tag:tagname] for the same purpose. They look a little bit ...
5
votes
3answers
58 views

How do I indent text?

I presently must copy and paste Em Space,  , from a website or my profile to indent text. Any easier solution without relying on other websites? This question has probably been asked before, but I ...
3
votes
1answer
95 views

Extra square bracket ([) when uploading image

I was making a post on the gamedev meta and after I posted it I noticed that between the Header and the image I first uploaded there was a trailing [ and I went to edit the post and remove it, only... ...
1
vote
2answers
58 views

URL with multiple ending parentheses produces broken links in markdown preview

I tried to create a link to https://docs.racket-lang.org/reference/Filesystem.html?q=rktl#(idx._(gentag._305._(lib._scribblings%2Freference%2Freference..scrbl))) using Markdown in this way: [example]...
2
votes
1answer
71 views

Get a post's text, from the Stack Exchange API, in decoded and pastable form?

I know how to retrieve body_markdown with the Stack Exchange API. But if I copy the retrieved body into a Markdown editor then I don't get back the "real" body of the answer. I've tried using ...
2
votes
0answers
20 views

Invalid markdown result for italics beginning with apostrophe at end of word

When Markdown code includes italicized text beginning with an apostrophe at the end (or in the middle) of a word, the result incorrectly displays the *s. Ex: code Second*'s* Result Second*'s* ...
5
votes
2answers
42 views

Have the words in this suggested edit really been changed?

In this suggested edit the "rendered output" tab shows two words changed: "Can" and "mysterious", but in the "markdown" tab shows the addition of only a <br> tag. Click to enlarge So ...
3
votes
0answers
50 views

The order of the attributes in the <img/> element matters when it shouldn't

Ever since the Imgur resizing stopped working, I've been struggling with changing the display size of an image embedded in an answer. I finally figured out it was because I was specifying the width or ...
1
vote
0answers
53 views

Text formatting after a dot renders correctly at first but shows incorrectly once chat message has been posted

When putting text formatting after a dot in chat, it appears to render correctly at first: But when the chat message is posted, it renders incorrectly, with the formatting characters showing up: ...
1
vote
1answer
29 views

How to create stack overflow comment with external website link [duplicate]

I have come across comments such as below. Which contains link to external website but http url does not show up in the comment instead user provided word come up, upon clicking that word will lead ...
0
votes
0answers
44 views

Why can't I format text in custom suggested edit rejection reasons, but canned reasons can be formatted?

I noticed that it's not possible to format text (i.e. apply bold and italics) in custom edit rejection reasons. But there are some canned rejection reasons that contain formatted text. For example, I ...
2
votes
0answers
28 views

Schematic editor does not produce clickable image

Whilst editing this question, I noticed that the schematic markdown (produced by the schematic editor on SE.Electronics (and maybe elsewhere that it is employed)) displays an image that is not ...
4
votes
1answer
54 views

Weird behaviour when using two (2) $ signs? [duplicate]

Over at Worldbuilding I posted this answer and included: * Build a $1 Billion home ([Mukesh Ambani](https://en.wikipedia.org/wiki/Antilia_(building))) * Build a $1.2 Billion Yacht ([Roman Abramovich](...
1
vote
0answers
28 views

Cannot suggest basic formatting edits based on whitespace: “Edits must be at least 6 characters” [duplicate]

I often find myself wanting to improve new member's OPs readability by only doing basic formatting: adding whitespace to break down one chunk of text into several lines/sections adding - to format ...
2
votes
0answers
35 views

How do I make a(n ascii) table to support my Excel question on superuser? [duplicate]

I'd like to ask a question regarding Excel on the Stack Exchange Superuser site, and I have a sample set of data to help illustrate my request for help with a formula. It doesn't seem that HTML tables ...
4
votes
1answer
48 views

How can I see the source code on a suggested edit review page? [duplicate]

How can I see the source code on a suggested edit review page? I want a similar thing as in this link for this suggested edit.
17
votes
0answers
124 views

Visibility of links with uppercase letters in protocol section is inconsistent

Any link is visible in post preview despite of case in protocol section. But only links where protocol in lowercase are visible in result. Here is the link with uppercase letter in protocol section: ...
1
vote
1answer
121 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 ...
4
votes
3answers
242 views

Markdown for ticks and crosses

I really like the tick marks in some answers to this question. This would particularly useful on Software Recommendations, where users ask us to recommend software with a list of features. In reply, ...
8
votes
1answer
71 views

How to use TEX $$\begin{array}{l} … \end{array}$$ inside a quote?

I want to use a TEX-formatted content inside a quote. But the following code does not work: > $$\begin{array}{l} > a = b,\\ > c = d > \end{array}$$ How to solve this?
2
votes
0answers
50 views

Is there a copy text link functionality available?

TL;DR In summary: I am looking for a (usability) method to add in the markdown, to provide a link to the user, which either: Selects the relevant text, or Selects the relevant text and copies it to ...
1
vote
1answer
18 views

How to set a no break in keyboard shortcuts?

I'm wondering if it's possible to set a keyboard shortcut reference to be no breakable Example: As is: Keyboard shortcuts are shown in menus, contextual menus and by (on Windows) pressing Ctrl+/ ...
1
vote
1answer
62 views

What sites have the code formatting filter enabled?

I know that the code formatting filter ("your post appears to contain code that is not properly formatted as code") is enabled on Stack Overflow. However, are there any other sites where this filter ...
4
votes
0answers
43 views

Code block inside blockquote produces unnecessary error about code not being formatted

I just tried to edit a question on SO, and had the following Markdown: > [a bunch of text] ...service of remote systems. > The following XML document shows an example of an XXE attack. > ...
4
votes
0answers
58 views

Backticks don't render correctly on sites with MathJax enabled

Typing \` `text` produces ` `text` rather than the expected ` text on sites with MathJax enabled. The bug is visible in the preview and the final output.
-3
votes
1answer
41 views

How to get uniform markdown output for questions to be posted both on SE and Reddit?

I thought it would be as simple as starting on one and then copy and pasting to the latter; between SE <> Reddit, whichever was first. But I've found that it does not always turn out the same. ...
0
votes
0answers
25 views

Including support for HTML tables in posts [duplicate]

Currently, SE sites have a good bit of basic HTML at the ready. We have <p>, <a>, <h1>,<h2>,<blockquote> and more. I think this was a really neat idea, and beneficial in ...
4
votes
2answers
95 views

How do I bold some, but not all graphemes, of an italicized word?

How can I bold only m' in Je m’ évanouis, without the space between m' and évanouis? *Je **m’**évanouis* fails: *Je **m’**évanouis*
3
votes
0answers
77 views

MathJax + Markdown rendering in comments

The following comment (edited down from a real-world example) "$\cong$—spacer *italics* spacer—$\mapsto$" should render roughly as "≅—spacer italics spacer—↦", but, on MathJax-enabled sites like ...
2
votes
1answer
47 views

Syntax for “hide content” or “keep but don't show” for a portion of a text on Stack Exchange?

Is it possible on Stack Exchange sites to hide a portion of your post (answer or question)? It would be a portion of text you have written, which you need to rewrite or alike. And you don't want to ...
0
votes
0answers
21 views

How do I enter code between two list items? [duplicate]

Look below. The code block does not get recognized between a list. The first item. The second item. bla bla bla: from bs4 import BeautifulSoup soup = BeautifulSoup(response.text, 'lxml') csrf_token =...
2
votes
2answers
44 views

What's SE's markdown format on pandoc?

I've tried converting with pretty much all of them, mostly from a mediawiki excerpt, and none produced a perfect result. I've found strict markdown to be the closest, but it's still off; the links ...
1
vote
0answers
26 views

Add method of adding paragraphs to formatting page [duplicate]

I just found another post where a user is using single line break to create separate lines / paragraphs. This of course won't do anything in Markdown; two line breaks or a <p> tag are required. ...
4
votes
1answer
77 views

What's the best way to quote Wikipedia in SE?

Ideally I'd like to have SE recreate the formatting in Wikipedia, with footnotes and all. Any way of doing this, either by copying the source markdown, or — even better! — the RTF directly from the ...
1
vote
0answers
21 views

Link formatting broken when it renders correctly in preview

I went back to an older answer of mine and I realized that the link formatting was broken (as you can see in this revision): But the preview (see—but don't save—here) showed that everything looked OK:...
2
votes
0answers
84 views

Dynamic Content Markdown

Is there a way to provide Dynamic Content in posts? Specifically, it would be nice to include the ability to have up-to-date statistics in a post if you're talking about the number of results in a ...
5
votes
3answers
96 views

In-line Backtick Escapes Not Formatting Text as Code

I'm trying to insert backtick escapes to highlight (with a gray background) in-line text as ˋcodeˋ, but the text surrounded by the backticks appears as regular text (as in ˋthis textˋ). Not sure if I'...
2
votes
1answer
70 views

Why doesn't Stack Exchange's markdown support traditional code block syntax(``` … ```)?

In Stack Exchange, we need Ctrl + K to format code. As we know, most Markdown editors support this syntax: ```c++ int main() { } ``` In Stack Exchange, it will be rendered to: c++ int main() { } ...
0
votes
2answers
144 views

How do I post code on Stack Overflow fast? [closed]

I tried a lot of different ways, but the only way is manual. I tried with Ctrl + K and inserted the code, but it's badly rendered, and a lot of text is not inserted into the code. Is there some ...
4
votes
1answer
45 views

Why is Area51's format so different than any other site?

I was just at Area 51, and noticed that: The buttons to access my inbox and sites were on the left side The user's box to access the profile is a lot smaller When going into the profile, Area 51 ...
2
votes
1answer
41 views

“Improperly formatted code” when adding an additional image in an edit

I made a question on Stack Overflow and then tried to edit it so that what I entered in the entry box was the exact text shown below in the code block. The system would not let me post it, throwing ...
2
votes
1answer
50 views

markdown spanning comma seems ineffective

When I tried to bold-face words spanning comma for English grammar questions that whether or not comma should be used, e.g. "unified**, will** induce the risks of strangling the usage of ...", that ...
6
votes
0answers
102 views

Help users transform images with math to TeX formulas (there is free software for this)

On sites like CrossValidated (but I guess this applies also to the math sites etc.) we often have users who post math formulas as pictures, rather then using TeX formatting that is supported by the ...
0
votes
0answers
56 views

Is there a path to Stack Exchange's markdown converging with GitHub's? [duplicate]

The markdown used on Stack Exchange and the one used on GitHub are fairly similar, but have some subtle differences. For example, on GitHub, you can add ``` before and after a set of lines to format ...
6
votes
0answers
82 views

Add “> text” quote markup to chat FAQ

It's possible to quote a block of text in chat by preceding it with a greater-than sign and a space: > I've got a lovely bunch of coconuts This produces a nice vertical dotted line in the message....