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].

Filter by
Sorted by
Tagged with
7 votes
1 answer
149 views

Not correctly formatted hyperlink

There seems to be some problem with the handling of links after <h1></h1>. It wasn't there some months ago. The problem is here and on the main site (I've noticed because I opened an old ...
4 votes
1 answer
103 views

Markdown broken on edit?

I just made an edit on the following question: Is there a random number distribution that obeys Benford's Law?. The parts of the question that I didn't edit are displaying are just fine, but a ...
5 votes
1 answer
134 views

CommonMark incorrectly italicizes underscores in code blocks

In this answer I see Notice how the text in the code blocks between underscores is italicized (or rather, in this font, oblique). Here is the same text copy/pasted into this question (where I ...
7 votes
1 answer
167 views

Code block is rendered incorrectly (partially in italic after underscore) [duplicate]

I noticed a strange rendering of the question text. Here is a screenshot. Note how the code block starts as expected until the underscore character and then turns into italic. I'm using Chrome on ...
11 votes
2 answers
3k 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 ...
6 votes
0 answers
73 views

Bug in heading when using quotes [duplicate]

Using heading in quotes has some strange behavior, for instance: >Quote title >--- >Rest of the quotation The above should make Quote title a header, and indeed it does in the preview ...
23 votes
2 answers
918 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 ...
5 votes
0 answers
76 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 ...
8 votes
1 answer
147 views

The language identifier example in the "How to format" box doesn't work for python

Currently, the "How to format" box in the edit window has the example language identifier ```python def function(foo): print(foo) ``` Which produces the non-hilighted output def ...
9 votes
1 answer
172 views

Markdown looks different when viewing edit history or suggested edit

I just reviewed this edit suggestion, and the "rendered output" tab doesn't look the same as the answer when rendering the same markdown. Here's the markdown being rendered: ##Model## ...
4 votes
1 answer
594 views

Heading underline markdown rendering differently in preview to published

I came across this answer which appeared to have rendered incorrectly. Editing it, the answer looked fine in preview so I suspected it just needed to be rerendered, but this was not the case. The ...
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 ...
6 votes
0 answers
89 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 ...
24 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 ...
5 votes
1 answer
201 views

How can I format plain code as text without any highlighting? [duplicate]

I made several attempts in my last question to format a block of text so that it has no highlighting. I tried to prefix with space, to wrap in ```text or ~~~text but it always ends as #hashtag some ...
26 votes
2 answers
479 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 ...
5 votes
0 answers
79 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 ...
4 votes
1 answer
60 views

Inline code with too much whitespace inside quotes escapes its container

Here's an example: int main(void) { puts("This is just a test to demonstrate the issue bla bla bla bla bla ...
31 votes
1 answer
351 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 ...
0 votes
0 answers
69 views

Stackoverflow Chat Markdown does not work with returns [duplicate]

In the stackoverflow chat rooms, specifically the one Im using, and others I've seen this problem. When you return text (Shift+Enter) to type more, and then you try using markdown in that returned ...
4 votes
1 answer
126 views

Asterisk characters inside <kbd> tags are not rendered correctly

When using the following markup: <kbd>*</kbd> <kbd>*</kbd> It renders as: You can see a live example of this causing a problem in this answer: https://stackoverflow.com/...
5 votes
0 answers
137 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 ...
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 ...
26 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]&nbsp;[and link][1]. It displays correctly. This is a tag&...
4 votes
1 answer
372 views

Misalignment of Unicode block characters in preformatted text blocks

I see a broken format of tables passed to <pre> tags, when the table has some Unicode decoration. Look: postgres=# select * from pg_namespace ; ┌───────┬────────────────────┬──────────┬─────────...
2 votes
1 answer
106 views

Bug in comment parsing

The following comment causes Stack Overflow to render the comment incorrectly, based on the documentation for Comment Formatting: I think I see what you're doing. You really only need one example of ...
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 ...
7 votes
1 answer
72 views

Markdown link broken in new Close Votes menu

I noticed the new slightly changed close reason dialogue today and there's a typo in "General Computing Hardware and Software". The markdown link didn't expand correctly: Not sure how this would be ...
4 votes
1 answer
82 views

Possible bug rendering a number of HTML sup/sub tags [closed]

Regarding my answer to the question here, it appears there may be a rendering bug. In the third-last paragraph (only two other paragraphs following it in case that's an Australian phrase), I have a ...
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/...
14 votes
1 answer
372 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 ...
5 votes
0 answers
86 views

Markdown escape of backquote doesn't work in comments [duplicate]

This doesn't work in comments on Stack Overflow but works in answers and questions: `` (let ((name (gensym))) `(list `(list ,,name)))`` It give this output in question/answers: (let ((name (gensym))...
3 votes
2 answers
126 views

How can I mark <italic><bold><italic> (why doesn't `*italic***bold***italic*` work)?

I was able to put it all in the title: How can I mark (why doesn't *italic***bold***italic* work)? It produces: *italic***bold***italic* Is that a bug or just poor design?
17 votes
1 answer
762 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 ...
4 votes
2 answers
171 views

Why is '&regDataType' rendered as '®DataType' in a <pre> block?

Post. My Browser: Chrome Version 67.0.3396.99 (Official Build) (64-bit) BUG: (in his code) regPropSuccess = SetupDiGetDeviceRegistryProperty(hDevInfo, &devInfoData, SPDRP_DEVICEDESC, ®...
15 votes
2 answers
704 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 ...
10 votes
0 answers
179 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 ...
15 votes
2 answers
498 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 ...
11 votes
1 answer
188 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 ...
1 vote
0 answers
93 views

Why are bullet points breaking my code blocks? [duplicate]

When I type this: - There are no errors in the console log. - No errors when ran through JS Hint - Chrome debugger shows the code executed - Chrome Elements tab does **not** show the styles as loaded ...
14 votes
1 answer
167 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....
19 votes
1 answer
1k 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 ...
4 votes
1 answer
936 views

Minimarkdown formatting in SO comments

According to the help page on formatting text in comments on this site, the backtick should format text as code. like this But that does not work. My comments will display on one line. I have seen ...
-4 votes
1 answer
113 views

Adding Code Sample functionality seems buggy

When asking a question, it's important to add readable code. So, when wanting to ask a question recently, I clicked the Code Sample > {} icon and pasted the formatted code into place, which results ...
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....
31 votes
0 answers
254 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 ...
2 votes
0 answers
83 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 ...
25 votes
0 answers
469 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 ...
-12 votes
2 answers
1k views

Change quote formatting to show double-quote marks

Quote markdown currently renders as a kind of banner: Like this, and with a yellow background on the main site. This has led posters and editors to use it for emphasis. People don't seem to ...
3 votes
0 answers
72 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 ...