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
2
votes
0answers
48 views

Formatting was messed up in user profile [duplicate]

Possible Duplicate: User page on meta is shifted When I saw user profile of user S.Mark it was not displayed properly. I visited that page more than one time but still it was looking the same. I ...
553
votes
38answers
60k views

Formatting Sandbox

Note: Answers will occasionally be moved to the Sandbox archive when there are too many of them. When using them to report bugs, keep an eye. As per Jeff's suggestion in this comment: You can use ...
1
vote
2answers
140 views

What are text format magics on Stack Overflow?

There are some text formats which help us to provide more readable answers, comments, and questions, but I learned them by editing other answers. I don't know where the source is, for example: code ...
2
votes
2answers
174 views

Inline code breaks link text SO Markdown renderer

Reposted from this answer The following markdown breaks: ![`<b>`Testing something](https://stackoverflow.com/content/img/so/logo.png) It renders.. <b>Testing something" title="" /> ...
9
votes
3answers
89 views

Is there an easy way to post nice hyperlinks to questions?

Often I want to link to an existing question on the SE network in a comment or even a question/answer. One way to do this is by using the Share button. The link will be given in the form https://...
3
votes
3answers
123 views

MarkDown Rendering bug

The markdown ![[image][1]][1] renders a broken tag: [image http://google.com]1
2
votes
1answer
38 views

Bordermatrix doesn't seem to work

Help of the Cross Validated says that "Cross Validated uses MathJax to render LaTeX." and the "Learn more" link leads to this site, where (under the Matrices point) you can find an example for ...
790
votes
22answers
214k views

Is there Markdown to create tables?

It seems like a lot of people try to display tables in Stack Overflow questions, but don't do a very good job. Is there Markdown syntax that supports creating a proper table?
340
votes
12answers
48k views

Syntax highlighting language hints [duplicate]

Do you think it would be worthwhile to provide hints as to what language to use for the syntax highlighting? Sometimes I find the highlighting on SQL or VB.NET answers is more distracting than ...
1
vote
0answers
57 views

Stack Overflow markdown editor tool bar options are not displaying

Stack Overflow markdown tool bar options are not displaying. It is shown the error below:
2
votes
0answers
34 views

How to preserve a TAB character in a string?

I want to preserve the TAB character in a string, because I want to give an example input that contains a TAB. Then users can copy that string and use it. But it seems like StackExchange always ...
81
votes
0answers
1k views

Markdown change: Intra-word emphasis now works

There are tons of questions I could maybe post this as an answer to, but before choosing the best one, I'll just post this as an announcement question that can be linked elsewhere. The short story ...
-4
votes
0answers
46 views

Adding strike through to styling [duplicate]

A strike-through feature has been requested many times over the years, but there aren't any updates recently. The last artifact I could find is from this question's comment: Because it wasn't a ...
108
votes
5answers
24k views

How can I write math formula in a post?

I want to ask something that contains a mathematical formula. How can I write the equation? Is there a page that shows the syntax? I thought there must be some syntax like in Wikipedia or ...
329
votes
1answer
237k views

How do I format my code blocks?

How do I post text so that it is formatted as code? What do I need to do so that my code shows up properly — not escaped or removed — when posted? And how to get the correct syntax ...
2
votes
1answer
1k views

Display error when nesting <pre/> in <code/> elements

I have found an issue in this question: How to get list of values in GROUP_BY clause? Check this out. I enter the following piece of HTML: <code><pre>hello</pre></code> It ...
0
votes
0answers
30 views

Code block is not visible after using HTML <ul> (or “-” before text if you prefer) [duplicate]

When answering/asking a question if you want to achieve a black dot before the text, you can either use "-" before your text or use: <ul> <li>some text</li> <ul/> So far ...
234
votes
5answers
82k views

How to nest code within a list using Markdown

Oftentimes, I want to include code samples in a list, for example: Item One Item Two, for example: private bool ItemTwo() { return this.IFeelLucky; } Item Three The problem is that there isn't a ...
6
votes
5answers
168 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 ...
5
votes
2answers
146 views

House Ads for SE questions can overflow

It's possible for the ads that feature questions from the SE sites to overflow the box, causing the text to get cut off. For example, the ad for this question:
2
votes
0answers
76 views

Chat FAQ is misleading regarding markdown in multi-line messages

This question follows the discussion in comments here. We know that Markdown in chat fails for multi-line messages. Debatable, but OK. However, the Chat FAQ for formatting shows us what appears to ...
0
votes
1answer
62 views

Syntax for chat messages?

Chat messages do not seem to support markdown like questions and answer on SX.com websites - at least not fully. Where can I find the full syntax supported in chatroom messages?
5
votes
3answers
50 views

How to add a blank line in a blockquote? [duplicate]

I'd like to do know how to do the following: Blockquote A blank line that's not part of either block, visually distinguishing two different blockquotes Blockquote B Experiments Without adding ...
5
votes
2answers
1k views

Add Expanders to markdown so users can hide “More Info” text

Expand/Collapse More/Less Info buttons are a common concept across the web - wouldn't adding this feature make it easier for users to read those long-text examples? I am aware that there is the ...
-1
votes
1answer
37 views

Bug: Can't insert horizontal rule in Safari on iOS [closed]

Normally we can create a horizontal line in questions or answers like this: ------- However, in Safari for iOS, I found no way to enter this sequence of characters, since two sequential dashes are ...
7
votes
6answers
58k views

How do I post code in StackOverflow? [duplicate]

Possible Duplicates: How to post code in SO How do I format my code blocks? When I post code here it ends up all mangled. How do I make it look pretty? For example, posting //#include (minus ...
7
votes
0answers
55 views

Either fix edit preview display to render bare links to more than five sites just like the post renderer, or convert all links

This is probably easier to show than tell... On the recent question Is asking for user stories off-topic on meta sites?, I see the following: As you can see, the first five links render properly, ...
0
votes
0answers
62 views

Does using code syntax for non-code content causes accessibility issues? [duplicate]

I ask because I was told it does when I was working as web developer. On the other hand, diamond moderator who posted this: https://russian.stackexchange.com/a/19767/12008 insists on using this syntax ...
4
votes
0answers
46 views

Formatting problems with double quotes in URLs, mostly affecting the preview

One site I link to (Google) uses URLs with unencoded double quotes (") in them; I usually truncate the URL until it ends in a double quote so it's not as long. This creates problems either way in the ...
3
votes
1answer
48 views

How can I see the post rendering without MathJax formatting?

While I'm studying Math, Physics or any other topics which uses a lot of formulas, I'm taking notes using Anki which supports MathJax formating. Since I'd like my notes to be properly formated, I want ...
6
votes
1answer
2k views

How do I enter formulas on 'Mathematics' or 'Theoretical Computer Science'? [duplicate]

The help icon only leads to a general Markdown reference. The way to enter formulas should be mentioned, preferably in a separate section and with a link to a Tex reference.
4
votes
1answer
74 views

How can I format a list inside a numbered list nicely

I posted on meta.stats a question with a bullet list in a numbered list. See the excerpt below (as most of you can't see that question yet). As you can see it looks currently horrible. Is there a way ...
3
votes
0answers
35 views

Too much whitespace breaks markdown side-by-side diff

I came across this "bug" when reviewing this suggested edit. The review basically removes a lot of useless whitespace from a codeblock (that was used to show a stacktrace). This is how it looks like ...
7
votes
1answer
192 views

What site-specific post formatting settings are available?

Certain Stack Exchange sites have specialized support for non-standard types of post formatting. Tim Post briefly mentioned these when discussing site-specific configuration settings, but he didn't ...
26
votes
0answers
642 views

Adding a link with a space in front causes the link to not work

When you paste a link into the "Insert Hyperlink" box, it adds it automatically as a citation link: [Example 1][1] [1]: http://example.com But when you paste a link starting with a space , it ...
3
votes
1answer
35 views

Is inserting images broken?

I was trying to edit a fresh user's post to include the image in the post. So I clicked on edit, then at the appropriate position CTRL-G, switched to "paste" and inserted https://i.imgur.com/lT8q3Ks....
0
votes
0answers
50 views

How can I go down one line without answering a full empty line in questions/answers? [duplicate]

When writing anything other than code on Stack Overflow or Stack Exchange, and wanting a new paragraph, or just a line break, pressing Enter just once doesn't do the trick. Look at this ...
3
votes
2answers
166 views

False positive? I get this error but cannot find any reason: “Your post appears to contain code that is not properly formatted as code.”

Editor's note since this is gathering close votes: the code formatting filter is not a Stack Overflow-only feature; it's active on four sites and a CM has stated that questions about it are on-topic ...
2
votes
1answer
39 views

Cannot format code

I am trying to format the code from the link using the Stack Exchange app but when I cut and paste the code wall the spaces get removed and the hash marks disappear in the output. How can I fix it? ...
2
votes
0answers
26 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:...
40
votes
7answers
4k views

Style guide for questions and answers

Recently I saw a question title of "combine 2 resultset". I think the community deserves nicely written and formatted content. I guess this would require just ten more seconds from all of us. ...
-1
votes
1answer
71 views

Unable to post question [duplicate]

I composed a question on Stack Overflow which had lots of text. I tried to format it, mostly using <pre> tags but was unable to post it. The website gave the warning that my post contains ...
5
votes
4answers
181 views

If question starts with code declaration the first line of code is not escaped

class Student { private String name; public Student(String name){ this.name = name; } public String getName(){ return name; } } class StudentServer { public ...
4
votes
1answer
69 views

Unable to rollback to previous revision

I edited my answer because the information was no longer accurate. However, after editing I found that the formatting was broken, so I rolled it back to the previous version. Unfortunately after the ...
6
votes
0answers
54 views

An empty code block gets added after an embedded list containing code

If I have a code block which is created using three backticks (```) inside a nested list, a second empty code block sometimes gets added after the list. For example, this markdown code: 1. Testing a ...
8
votes
2answers
1k views

How do we bold AND italicize text in a comment?

To bold, you put two asterisks (**) around the block, and to italicize, you put an underscore (_) around the text. There is a problem (bug?) is if you want to bold and underline text. Common sense ...
42
votes
3answers
574 views

Fix Markdown/SmartyPants in question titles

Consider this question: is x-- > 0 && array[x] well defined behavior in c++? Unfortunately, the question title is displayed on SO as: is `x— > 0 && array[x]` well defined ...
3
votes
1answer
82 views

HTML <li> items not rendered correctly in Firefox, Edge, and IE11

This Sandbox post looks quite normal when viewed on e.g. Safari or Chrome: but when viewed in Firefox (on macOS Mojave) as well as Microsoft Edge and Internet Explorer 11, the bullets generated by &...