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].
34
questions with no upvoted or accepted answers
31
votes
0
answers
248
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 ...
29
votes
0
answers
404
views
Rendered view requires blank line before (and after) tables, but preview accepts both
I saw a wrong table layout, the poster did do this, and it looked wrong:
Table x
| Name | Category |
| ---- | -------- |
| A | High |
| b | Medium |
| c | Low |
Changing this (...
24
votes
0
answers
459
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 ...
16
votes
0
answers
621
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
0
answers
243
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 ...
15
votes
0
answers
104
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 (...
15
votes
0
answers
294
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
0
answers
198
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
0
answers
97
views
What causes these list item marker display issues for content that begins with a code block?
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 ...
11
votes
0
answers
106
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
266
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
0
answers
174
views
Formatting error in indented bullet list with sublist and non-list members
The following renders incorrectly for me:
A bulleted list item
A bulleted sub-list
... followed by a paragraph which is indented to be underneath the top-level bulleted list.
Here's how it's ...
6
votes
0
answers
91
views
Mismatch between preview content and saved content wrt newline separator
How to reproduce:
Edit or create a new answer, paste two links, use \ between them so they show in different lines. Like this:
https://flathub.org/apps/details/net.sourceforge.Pdfedit\
https://flathub....
6
votes
0
answers
85
views
Preview does not render code blocks as code if they contain a paragraph separator (unicode decimal 8233, hex 2029)
If you edit this question, you'll see the problem.
Here's a code block with a paragraph separator char between "foo" and "bar":
var str = "foo
bar"
var also = "other lines"
The above line renders ...
6
votes
0
answers
117
views
The rendering of language regex in a markdown code block is somewhat monotone
In my answer to a question about regex's I put this language element in my markdown:
<!-- language: lang-regex -->
[^;]+=(?<val>[^;]*)
This rendered as the crimson text we typically ...
6
votes
0
answers
130
views
Stack Snippet comments not showing up correctly when part of code
I'm trying add a "stack snippet starter pack" for tag wikis for specific libraries so there's a ready-to-go template when adding a tag that a user (or answerer) could copy and paste into their ...
5
votes
0
answers
84
views
Backquote no longer works within <sup>, whereas <code> does
Some time ago this worked. Now backquotes are just displayed as backquotes as in:
Fine print with backquoted code and using markup code
Here on MSO it works... but as @Yatin remarks, it is sensitive ...
5
votes
0
answers
63
views
URL rendering bug in answer editor
Reproduce by clicking the edit link under https://stackoverflow.com/a/66326205/2943403.
Notice that in the rendered view of my answer, the link to another SO answer is a clickable hyperlink, but after ...
5
votes
0
answers
69
views
How to fix markdown that renders fine in edit mode
I came across this answer and noticed its main code block was rendering a bit funny. I assumed this was something wrong with the answer I could edit to fix up.
However after clicking Edit, it looks ...
5
votes
0
answers
66
views
Markdown with fenced code blocks within lists has inconsistent previewed/final renderings
About the bug
This is a bug whose effects you can see in the revision history of this answer. Specifically, it’s about the edit that created Revision 15 (click “side-by-side markdown” to see that ...
5
votes
0
answers
116
views
Markdown syntax does not correctly render certain tags (like [not]) in the preview
According to the Markdown help, [tag:not] should format as a tag, but it doesn't in the preview while you are editing a post. What is wrong with the "not" tag?
not-a-tag is correctly formatted as a ...
5
votes
0
answers
49
views
Tag wiki preview looks ok, live changes look crap
We're adding a FAQ to the c tag wiki. I initially did this with a copy/paste from a meta post to the wiki.
The meta post looks ok even though it only contained raw URL to the posts. The site replaced ...
4
votes
0
answers
259
views
Post with an HTML-like tag in the body renders correctly in the preview, but not in the post
This answer renders as such when editing:
However, when submitted, the tag does not render (or appear in the http response):
I am not sure where's the appropriate place to file bug reports, but ...
4
votes
0
answers
63
views
Markdown converts formatting characters in raw URLs, rendering the displayed URL incorrect
Example: https://example.com/repo/__tests__/asdf.js
https://example.com/repo/tests/asdf.js
The underscores in the URL should be preserved, but are instead used to bold part of the URL. This can be a ...
4
votes
0
answers
47
views
Additional spaces displayed differently in markdown and rendered output diff
When removing one of two consecutive spaces, like here before the word "declaring", rendered-output-diff highlights the entire subsequent word "declaring", whereas the markdown-diff more accurately ...
3
votes
0
answers
68
views
Code snippet breaks Markdown parser
When editing a post, the Markdown parser in the Preview seems to break down after a code snippet. Everything (except the pre-formatted text) following the code snippet in Example A below appears ...
3
votes
0
answers
60
views
Bullet is suppressed (on certain browsers) when list item contains code inside of a blockquote
When you're trying to quote multiple pieces of code, you might use a bulleted list, where each item in the list is a blockquote that contains a code snippet. To wit:
Here's my list:
- > ...
3
votes
0
answers
31
views
Can we have an option about placement of the HTML answer while editing an answer?
The Stack Overflow answer text-area is reasonably good, but when I am writing a moderately sized answer (and more importantly, reviewing it for correctness and formatting), at times it is cumbersome ...
3
votes
0
answers
41
views
The question in suggested edits is displayed differently from the regular question view
This question CollectionAssert.Contains(myList, myItem) != Assert.IsTrue(myList.Contains(myItem)) contains a link (to msdn) that is not 'clickable' i.e. its plain text only.
I edited the question and ...
2
votes
0
answers
81
views
Markdown rendering nested scrollbox in question content?
This question has a scrollbox inside a scrollbox in the content, which seems like it shouldn't be allowed under normal circumstances
It's about halfway down the searchbar, here's a screenshot for ...
2
votes
0
answers
66
views
The markdown preview shows wrong formatting whereas the Markdown shows it right
The question formatting when edited using markdown(editor) shows it correctly in the editor but wrongly in the markdown preview. But then again appears correctly in the question. Reference question : ...
2
votes
0
answers
187
views
HTML tags in the body are not showing up
In this question on SO the author was asking a question with the following text:
between > and </ of any tag.
Those "greater then" and "less then" symbols are showing up only if you backtick ...
2
votes
0
answers
59
views
What is wrong with the vertical spacing in bulleted lists?
There is a related question: rendering of lists. It is marked as "status-completed" however but I am not sure if it is the same problem.
Now I am on Windows+Firefox and I see such a picture:
...