Editor is replaced by 'Invalid markdown provided' naming some other language

What you are seeing

The editor is replaced by 'Invalid markdown provided' naming some other language.


#Why it happens

The renderer threw on the current text AND language detection guessed something other than markdown, HTML, Lua or unknown. A very code-heavy document can trip this.


#What to do

Wrap large code sections in fences and remove anything that reads as another language at the top of the file.


#Limits that apply here

Limit

Value

What happens

Macro title and description input length

50 characters each

The macro config's 'Markdown title' and 'Markdown description' fields and the from-scratch editor's title field all stop at 50 characters.

Image load timeout

15 seconds

An image inside markdown that has not loaded in 15 seconds is replaced with '[Image load timed out: …]'.


#A few things that catch people out

  • Raw HTML is always stripped, in the editor preview, the viewer and the static-site export.



Found it? Good.