Viewer shows 'Invalid markdown provided' instead of the document

What you are seeing

The viewer shows 'Invalid markdown provided' instead of the document.


#Why it happens

The content did not look like Markdown to the viewer, which names the language it detected instead of rendering the file.


#What to do

Confirm the file really contains Markdown.


#Limits that apply here

Limit

Value

What happens

Large document preview

About 1,000,000 characters

Read-only previews longer than this switch to a virtualised viewer that renders in chunks as you scroll, so browser find-in-page and similar behaviour differ.

Raw HTML in Markdown

Not rendered

The viewer strips HTML and sanitises output, so HTML tags embedded in a Markdown document do not render.



Found it? Good.