Questions tagged [markdown-rendering]
Questions relating to the rendering of markdown. Use this tag when something is rendering different from the way you expect it to, among other things. Most uses of this tag should also have the tag [markdown].
171
questions
146
votes
2
answers
2k
views
Underline in [`code`](links)
Apparently links are now underlined. While I'm personally not a big fan of this, this seems to be a design decision.
However, code in links is underlined as well. This makes it rather hard to read.
...
110
votes
3
answers
3k
views
Please block posts containing unsupported HTML
Having had a look at Things in <angle brackets> that aren't HTML should not disappear, where jtbandes publicises his irritation with silently-disappearing code, got me to thinking:
Please block ...
97
votes
5
answers
1k
views
Links beginning with a capital letter are hidden when post is submitted
Links written with the first character as a capital, e.g.
Http://stackoverflow.com
do not appear in a post, although they are shown in the preview. Here is a link that becomes invisible after ...
91
votes
6
answers
5k
views
Testing GitHub Oneboxes for Stack Overflow for Teams [closed]
UPDATE: Some new features and bug fixes based on your feedback!
PRs now render HTML that matches exactly with GitHub
Links to the GitHub username now go to the user profile
See the updates in the ...
81
votes
2
answers
2k
views
Do not remove trailing spaces in inline code
If I write
` a b c `
Markdown renders it as
a b c
Inline code should not be trimmed. It's still code, and the spaces can be relevant.
Example:
[...] so .2 and .3 are invalid ...
71
votes
3
answers
2k
views
Don't wrap code at hyphen
It is common when writing Haskell questions to write language extensions beginning with - as code. The editor seems to think this is a hyphenated word that it can split between two lines, even though ...
56
votes
1
answer
481
views
URL works in preview but not in actual post
In this answer the need arose to include the URL http://www.c64-wiki.com/index.php/CHR$. I put it directly in the text without any brackets. I knew there was a chance of that dollar sign being a ...
49
votes
1
answer
647
views
Code wrapped inside headers is too small
Any inline code block inside a header gets rendered with the same font-size as normal paragraphs, and this makes code look very inappropriate inside headers.
For example, the following Markdown:
...
43
votes
0
answers
608
views
Rendered view requires blank line before (and after) tables, but preview works regardless
I saw a wrong table layout where the poster did the following and it looked wrong:
Table x
| Name | Category |
| ---- | -------- |
| A | High |
| b | Medium |
| c | Low |
...
42
votes
1
answer
749
views
Link in the comments is rendered with semicolon
I've got the following URI:
https://wiki.haskell.org/Foldr_Foldl_Foldl'
In the post Markdown, it would be rendered as https://wiki.haskell.org/Foldr_Foldl_Foldl' which doesn't work - you have to use
...
41
votes
2
answers
1k
views
Spaces around code keywords
An answer had no spaces around the keywords, and displayed as expected in my browser (Grazing, IOS 8; but Safari is similar).
I fixed it, but the author rolled back the edit, and left a comment that ...
39
votes
1
answer
478
views
Inconsistencies in the rendering of lists
Can some of these inconsistencies be remedied?
http://meta.stackexchange.com behaves differently (somewhat more reasonable I'd say).
I posted a twin question on SE. Note the differences.
== demo ...
37
votes
1
answer
445
views
HTML tags are removed from tags' excerpts
Have a look at textarea tag page. There was an excerpt, that had the following contents:
A <textarea> is an HTML element (tag) used to create a multi-line plain-text editing field.
But the <...
31
votes
1
answer
346
views
Is there a way to increase the contrast for blockquotes, such as the old style with a light-yellow background?
I noticed a recent change in the markdown rendering of blockquotes on stackoverflow.com: they now display as regular text, with just a thin grey vertical bar the the left.
This change seems to be a ...
31
votes
0
answers
253
views
Make tabs actually visible in code sections of posts
Today in a Python question, the OP had an issue where some code was not accessible because of a spaces vs tabs issue.
Somehow, he had the first part of his code indented with tabs, and the second ...
28
votes
2
answers
710
views
Link to a specific spot in a Stack Overflow question/answer
Following this Stack
Overflow answer, I added a named anchor ElimRestErrs to a heading in an answer I posted:
# <a name="ElimRestErrs">Eliminating the rest of the errors</a>
The ...
27
votes
1
answer
174
views
Tag followed by link results in unexpected formatting
This is a [tag:tag] [and link][1]. It displays incorrectly.
This is a tag [and link]1. It displays incorrectly.
This is a [tag:tag] [and link][1]. It displays correctly.
This is a tag&...
26
votes
1
answer
4k
views
Strikethrough Markdown Not Working
Strikethrough is not working properly when rendering on the site, but works in preview. I have found 2 ways striking through in markdown (as seen here):
I belive the way the following markdown ...
26
votes
2
answers
474
views
Code wrapped inside sub/superscripts is too big
In this answer I happened to use some inline code markup inside a pseudo-footnote1 wrapped in <sup>...</sup> tags and noticed that, while the plain text inside the footnote is typeset in a ...
25
votes
0
answers
465
views
Comment formatting is not working with & (and other special characters) sign(s) after letters/words
When using the & sign in a comment, the formatting is not parsed correctly for example,
SO is a Q&A site.
The comment doesn't seem to get formatted as it is supposed to as can be seen in ...
24
votes
0
answers
218
views
In Documentation, code blocks in lists have to be indented less than in Q&A [closed]
According to the Markdown help, code blocks within lists have to be indented two levels, i.e., eight spaces, like this:
* Item
Code
12345678
(Counter just for illustration). In Q&A, ...
23
votes
2
answers
916
views
Should I fix the formatting if it changes the meaning?
I was going to fix a simple typo in this answer. In its first revision it goes like this:
If you want to get an array of ints, with values form 1 to 10, from a Stream, there is IntStream at your ...
22
votes
2
answers
2k
views
How can I make a bold font within a code section? [duplicate]
Let's say I'd like to put in a block of a code and I want to stress some crucial places of this code with a bold font.
[B] button placing two asterisks around the needed piece of code, but those ...
20
votes
1
answer
897
views
Why does this markdown not render as a list?
If one looks at the source text for this question:
Ceylon Run Configuration: can't find project
a list can be seen towards the bottom. However, this list is not rendered as a list, in spite of being ...
18
votes
3
answers
518
views
Code block inside list is too close to above paragraph if a paragraph does not follow it
Good: paragraph p2 follows:
Item 1. Block below nicely separated from this text:
block
p2
item 2
Code:
- Item 1. Block below nicely separated from this text:
block
p2
- item 2
...
18
votes
0
answers
3k
views
How to Create Table in Stack Overflow Answers & Questions? [duplicate]
Why, despite support of markdown in the stack overflow, Still I can not be through this language or HTML making a table?
Standard Markdown should have allowed in-lined HTML table.
How can I making ...
17
votes
3
answers
2k
views
Why do backticks not work inside HTML lists?
Often I want to include inline code inside a list:
Why isn’t `this` working ?
Actually, the code block does appear, but when you write the ending </ol> tag, then the formatting disappears.
...
17
votes
2
answers
447
views
Link with round brackets looks good in preview, but broken after submitting
The link [Wolfram Alpha](https://www.wolframalpha.com/input/?i=nextprime((10%5E32)%5E2) looks fine in preview, but is broken after submitting the question or answer:
A workaround is to use the [...][...
17
votes
1
answer
727
views
Indentation of tabs and spaces is inconsistent in Stack Snippets
When I write code using JS/HTML snippet editor (orange icon):
and paste code which contains one or more tab () characters as line indentation, then the snippet editor shows me this:
The same code in ...
16
votes
0
answers
330
views
Accessibility concerns about Stack Overflow
When writing Markdown on Stack Overflow, you can create HTML section headings, also known as <h1> or <hx>, using '#' 1–6 times. This is very useful for questions and answers because you ...
16
votes
0
answers
108
views
URLs with underscores are broken in preview, but not in actual question
The following URL
https://github.com/python/cpython/blob/master/Lib/test/__init__.py
live rendering: https://github.com/python/cpython/blob/master/Lib/test/__init__.py
is shown like this in preview (...
16
votes
0
answers
622
views
Wrong parsing of ` =>` in comments
I wrote this comment:
@Kusalananda I was thinking that `sqlite3.no value` would be taken away
with matching the first ` =>` in ` => /some/path/php/extensions/no-debug-
non-zts-20160303 sqlite3....
15
votes
2
answers
682
views
'#' character rendering in output instead of making a heading
The little stack overflow help menu says:
Use hash marks if you need several levels of headers:
# Header 1 #
## Header 2 ##
### Header 3 ###
The # character (pound-sign or hash-tag) is meant to be ...
15
votes
2
answers
492
views
Square brackets before a link cause incorrect link parsing [duplicate]
Here, I tried to write a sentence
Use java-10 [local variable type inference]1 ...
but it didn't get parsed well, so I had to add an extra space after the tag
Use java-10 local variable type ...
15
votes
1
answer
177
views
Dollar ('$') character breaks link in saved answer but not in preview when creating/editing
I just answered a question (https://stackoverflow.com/a/40469713/782358) and noticed that a link I added (https://material.angularjs.org/latest/api/service/$mdDialog) appeared correctly in the preview ...
15
votes
1
answer
142
views
List formatting is broken: neither bulleted nor numbered lists render in posts
I tried using - to add bullets, but it's not working.
e.g.
line1
line2
line3
I wrote it as such:
- line1
- line2
- line3
It's also missing from my previous posts. e.g. see here
This affects ...
15
votes
0
answers
323
views
Editor preview disagrees on link title
The live preview of the post editor breaks links that contains two quotes, one of them in the end:
[example](http://example.com?test=param"title")
While this is rendered on the server into the ...
14
votes
1
answer
371
views
Code block rendered incorrectly at question but correct in edit window
I came upon this question. On a first look I thought that the code was formatted with a backtick starting and ending every line:
I decided to correct this but when I clicked on edit I saw that it ...
14
votes
1
answer
166
views
Inline tags (inserted by [tag:] markup) are now underlined
I've just noticed that tag names inserted by [tag:tag] markup (tag), have become underlined:
I've tracked this to https://meta.stackoverflow.com/content/Sites/stackoverflowmeta/primary-unified....
14
votes
0
answers
203
views
Snippets comments are incorrectly parsed inside code blocks producing strange output
I was editing the following question, as the code blocks needed indenting, and noticed there was an problem with the html comments.
Post: setOnItemClickListener for listview
Here is the code I had ...
13
votes
0
answers
312
views
Post lacks formatting when being edited
This answer has perfectly formatted code in the beginning. However, when I hit the edit link it turns out, that code is no longer formatted, because it starts without first four spaces.
What am I ...
12
votes
1
answer
115
views
Abbreviated URLs in comments render … instead of …
Well, what the title says. If I post an URL in a comment, it gets shortened, and the ellipsis is shown by …. Or at least, should be, because it shows up as ….
12
votes
0
answers
158
views
What causes these list item marker display issues for content that begins with a code block? [closed]
Yesterday I made an edit that produced some unexpected output. It seems that when an item in an ordered or unordered list begins with a code block, in (at least) Firefox (but not Chrome) the list ...
12
votes
1
answer
101
views
Why does this header-within-a-blockquote render as expected in the preview but not the final post?
I posted this answer that contains a header within a blockquote as follows...
> Example 9: Use the -Force parameter to overwrite existing files
> =================================================...
11
votes
2
answers
2k
views
How do you show words surrounded by angle-brackets (< >)?
Because of the Stack Overflow's Markdown editing system, I can't find a way to show words surrounded by angle brackets (< >). When text is placed inside these brackets, it is thought to be a ...
11
votes
1
answer
176
views
Bolding text not working consistently between preview and final
I noticed that if I bold something and it is not surrounded by white space it does not bold in the final text. Though it does bold in the preview while I am editing.
What I typed:
(**$**C2)
Which ...
11
votes
0
answers
149
views
Different Markdown rendering between preview and saved result
I have this Markdown content to render an asterisk in italic:
In the preview it looks good and the result is as expected, but when I save the changes I get:
Why doesn't it render correctly when I ...
11
votes
0
answers
317
views
Inline formatting no longer works with syntax highlighting
Sometimes I use HTML <pre><code>…</code></pre> instead of Markdown ```…``` / ␣␣␣␣… blocks for code blocks with inline text formatting. I have noticed recently that such inline ...
10
votes
3
answers
4k
views
How to embolden an asterisk?
I've read the instructions for writing questions, answers and comments: https://stackoverflow.com/help/formatting and read the markdown documentation: http://daringfireball.net/projects/markdown/...
10
votes
2
answers
90
views
Putting numbers of Quoted text overflows
I was writing a question in SO and I used a block-quote, here is the result
Here you can see the Numbers in block-quote overflow, while the letters in the other block-quote are not.
Am also adding a ...