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 document could not be rendered, and its content looks like another language rather than Markdown. The message names the language it detected.


#What to do

Confirm the file really contains Markdown. If it holds code or data with a .md extension, attach it under its real extension instead.


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