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
14
votes
1answer
124 views

What is the proper way to link to another answer on the same question?

Sometimes I'd like to link to another answer of the same question in my own answer. The simple way to do it is to copy the permalink of the answer and use that. However, that is likely to reload the ...
14
votes
4answers
957 views

collapsible region [duplicate]

I'd like to be able to add collapsible #regions within my post. For example Blah blah blah I am very smart and I will tell you how its done. Blah blah blah blah, if you're interested, that's like ...
14
votes
1answer
907 views

Dollar sign used as currency renders incorrectly in Android app

I came across an answer today on Electronic Engineering: How to go from newbie to manufactured? in the Android app. The answer gives monetary figures in (presumably) USD using the dollar sign. When ...
14
votes
1answer
569 views

My comment `code block` was not converted properly, is this a bug?

In my comment here: https://stackoverflow.com/questions/409/what-is-your-favorite-coding-guidelines-checklist/138993#comment-8835926 I needed to have a : symbol with a leading space, but I couldn't ...
14
votes
1answer
223 views

Allow [tag:tag-name] syntax to link to any site

The tag tag and meta-tag bug syntax generate much nicer looking results than merely surrounding your tag with [square brackets]. However, they only work when you're talking about the site you're on....
14
votes
1answer
146 views

`rel=“nofollow”` showing up in preview but not in output

I'm looking at this answer; in the markdown and preview you can see a piece of code rel="noattribute", like in the following screenshot. It's not showing up in the rendered output.
14
votes
1answer
212 views

Support for site-specific formatting hooks in SE2.0 sites

I'm curious as to what sort of support is planned for site-specific formatting abilities in the SE 2.0 sites. On Math Overflow, for example, they have math formatting with LaTeX-style markup. If the ...
14
votes
1answer
501 views

When will Pagedown be moved to Github?

According to StackExchange's Github page, PageDown is still a Mercurial repo hosted on Google Code. However Google Code is going to become read-only on August 25, 2015 and it'd be nice for PageDown to ...
14
votes
1answer
101 views

Can formatting make harder to find the question on a search engine?

Sometimes in Chemistry S.E. I use latex formatting e.g. $CO_{2}$ for CO2 or $\ce{H20}$ for formatting H2O. I would like to know if formatting can make it harder to find the question in a search engine?...
14
votes
3answers
527 views

Option to display diffs of the Markdown source, not the rendered text

Consider the following example: https://stackoverflow.com/posts/3544794/revisions It is very hard to tell what Quintin changed here. He actually added a link. It would be nice if it were possible ...
14
votes
0answers
90 views

Extend comment “magic links” syntax to allow arbitrary link text

The magic links are awesome. How much more awesome would it be to be able to make a comment linking to one of the URLs covered by a magic link, but with custom text? Since the square-bracket link ...
13
votes
4answers
159 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 ...
13
votes
3answers
10k views

How to insert sample XML code in Stack Overflow? [duplicate]

I am trying to ask a question which contains sample XML code but I can't paste sample XML code in the question. How it can be done?
13
votes
1answer
2k views

Unable to force Python syntax-highlighting

I have asked a question related to web2py—an open-source Python web-framework—that includes a code snippet. Unfortunately it didn't syntax highlight by default, so—following the docs—I added the ...
13
votes
6answers
400 views

Auto-detection of non-indented code

By far the most common edit that I have to make in SO is to correct newbie users who don't know how to format their code. This got me thinking: is there a way to automatically recognize when a post ...
13
votes
1answer
322 views

Markdown rendering font weirdly [closed]

While looking at a close review item, this looked rather weird: So I took a look at it on the question, and it didn't look the same: Here's the edit page: Is this a bug?
13
votes
2answers
2k views

Collapsible text blocks in questions/answers [duplicate]

Sometimes when writing answers on questions, I feel the need for a collapsible block of text or even code part. The system already supports a lot of markup things like blockquotes, code snippets, ...
13
votes
1answer
16k views

How can I escape the less than symbol when it is next to a alphabetical character? [duplicate]

I was pasting results from Google Translate into a quote in a question and it looked like this By overlaying the more because In reality the markdown is this >By overlaying the more because &...
13
votes
3answers
120 views

Warn tag wiki excerpt creators/editors that markup/links don't work in excerpts

I ran across another tag wiki excerpt suggested edit that had put markdown for a hyperlink in the excerpt (actually it already had them, it just modified it). So I rejected the edit, then waited until ...
13
votes
1answer
229 views

Is there a way to change the color of text in a question?

I just asked this question: SSRS 2008 partial string formatting. The first answer I got totally missed the point of the question (that answer is now deleted). I think my question would have been ...
13
votes
1answer
115 views

Chat adds arbitrary semicolon for no apparent reason [duplicate]

Go to chat Write "like http://xkcd.com" Wait a few moments for the submission to go through Resulting text is: I tried a few variations and, as long as the URL is within a quoted passage, and some ...
13
votes
1answer
125 views

Avoid or format `backticks` in titles

I see more and more titles with backticks in the title (like mine here)... For example: Parse div `data` into JavaScript function (renamed by Bart meanwhile) Is this a good practice? I guess not ...
13
votes
1answer
930 views

Please put the information about how to escape backticks in the main syntax help page

I am fully aware that the information about how to escape backticks in inline code is on this page: http://daringfireball.net/projects/markdown/syntax#autoescape But since backticks are so commonly ...
13
votes
2answers
29k views

How can we display additional spaces using markdown?

https://stackoverflow.com/posts/6220514/revisions How do I do a multi-line string in node.js? I tried to make these characters: [var str = "Some \ ] show as having a space at the end without the ...
13
votes
2answers
133 views

Automatic “possible duplicate” message strips “http://” from duplicate title

I noticed something when this question was closed as a duplicate of this one: Is it valid to replace http:// with // in a <script src=“…”>? The "possible duplicate" ...
13
votes
1answer
6k views

<kbd> elements are not hidden in a spoilers block

Recently noticed the following: Is it intentional to have <kbd> text visible inside spoilers markdown? Image for future reference:
13
votes
0answers
74 views

Stack Exchange automatically changing and breaking code when link updated?

I just asked Multiline entries in custom toc. During editing I deleted an image and uploaded a new one. During this process the site automatically adjusted the numbers of links, [1], [2], etc. ...
13
votes
0answers
66 views

Quote formatting with Ctrl+Q puts the > in annoying places [duplicate]

If I paste in a quote and press Ctrl + Q it will apply quote formatting like so: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore ...
13
votes
0answers
105 views

Code detection heuristics for possible link-only answers should be a little bit smarter

This answer came up on my radar. The first thing I noticed about it was its inappropriate use of inline code formatting for something that is not code. Naturally, I tried to edit it:    ...
13
votes
0answers
94 views

The editor's link functionality illegaly changes content inside code blocks [duplicate]

Possible Duplicate: Adding a new link to a post messes up the code already present in the post When adding / changing links in a post via the editor's "Hyperlink" button, the editor may renumber ...
13
votes
0answers
214 views

Add the “notranslate” class to code blocks

As pointed out in the question "How to make users aware that they're reading translated content?", some users navigate with auto-translation turned on. In principle I don't see it as a big problem, ...
12
votes
2answers
14k views

Markdown code block problem

I asked a question on StackOverflow recently and had trouble with the MarkDown processor: the code block would not render as code despite being indented four spaces. I've not had this trouble before; ...
12
votes
2answers
19k views

How do I write a URL in Markdown on Stack Exchange?

If I want to write the URL of a website on Stack Exchange using Markdown, how do I do that? For example: <a href="abc.php">ABC</a> What is the way to write this URL on Stack Exchange?
12
votes
2answers
485 views

Is there a page that explains how inline code spans should and should not be used?

I have done some reviews of new user's questions recently, and I noticed that most of these posts do not use inline code spans (e.g., "the main() method", "the HelloWorld class") - the things ...
12
votes
2answers
502 views

How do I format a backslash as code with backticks in comments?

I'm trying to write a single backslash in a comment as code formatted by backtick. Like this: `\` but it escapes the backtick and doesn't close the "inline code block". I've read Backslash escaped ...
12
votes
3answers
12k views

How do I make part of a word bold using Markdown? [duplicate]

Possible Duplicate: Markdown handles inline bold text (within a word) incorrectly I'm trying to use the following Markdown to make just the "Overflow" part of "StackOverflow Meta" bolded: Stack**...
12
votes
3answers
2k views

What is the preferred way to include error messages in Markdown?

When I have a question that displays an error message from somewhere, is it better to place that error message inside a code markup block or a quote markup block? It seems like more people are doing ...
12
votes
1answer
2k views

Inline quote possible [duplicate]

Is there a way to do a quote: like so inline similar to code block? While attempting, > This doesn't work > or > this < I want to bring attention to my inline quote, and I don't feel ...
12
votes
3answers
266 views

Why is the “About me” field in a profile not Markdown enabled?

If you have such a good way to do formatting in questions/answers why isn't it used for the "about me" section on the profile page? It looks easy to make and adds just a little bit more consistency.
12
votes
3answers
5k views

Attempting to space out multi-level lists causes mis-alignment of child elements

Say I'm entering a list, like so: * Item 1 * SubItem 1a * SubItem 1b * Item 2 * SubItem 2a * SubItem 2b As you'd expect, this results in: Item 1 SubItem 1a SubItem 1b Item 2 SubItem 2a ...
12
votes
3answers
167 views

How to post comment with multiple spaces in it?

I know how to do that in question or answer post. But how do I write a comment post which contains multiple spaces? I want to write this in a comment: print ("string") I tried: Using ``, but ...
12
votes
1answer
85 views

Link text over 70 characters fail to render in comments

I was trying to make a comment like this When you are banned from asking questions then you should read [what-can-i-do-when-getting-sorry-we-are-no-longer-accepting-questions-answers] (https://meta....
12
votes
1answer
134 views

Inconsistencies in the rendering of lists

Can some of these inconsistencies be remedied? http://meta.stackoverflow.com behaves differently (somewhat less reasonable I'd say). I posted a twin question there. Note the differences. == demo ...
12
votes
1answer
380 views

Addition of Inline Quotes

You can have code blocks that can be instead shown as inline code. Similarly, you can have block quotes However, you cannot have "inline quotes". Often, I find I want to add a quote inline, so ...
12
votes
1answer
553 views

HTML comment containing URL breaks if followed by another HTML comment

While fixing up a broken imgur link on StackApps, I noticed that a HTML comment in a post that contains a URL that Markdown might parse will break in the preview if that comment is followed by at ...
12
votes
1answer
149 views

Does markdown work in comments in “needs ♦ moderator attention” Flag dialog?

For example:
12
votes
1answer
563 views

Include Markdown post bodies in the data dump

I want to get the StackOverflow data dump in Markdown Format, for testing markdown sharp on real content. Could this please be added to the data dump? Edit: the dump body of this post: StackApps ...
12
votes
0answers
48 views

Make blockquote formatting button not destroy the source layout! [duplicate]

You ever had a post in front of you where the OP did mix up blockquote and code formatting? Not those easy cases where he/she wrote a > character before the paragraph himself, but those cases when ...
12
votes
0answers
114 views

No markdown on review of Low Quality Posts, and Edit fails review

Sometimes rendered output isn't enough to review a post. From the Low Quality Posts review queue, there's no way to review markdown which is sometimes necessary to perform a review. Reviewing low ...