Big document renders inside a small scrolling box with a '⚠️ Large content detected' banner
What you are seeing
A big document appears inside a small scrolling box, with a "⚠️ Large content detected" banner above it.
#Why it happens
The document is over 500,000 characters. Past that size, Markdown shows it in a scrolling box 1,200 pixels high and draws only the part you are looking at, which keeps it responsive.
#What to do
Split the document into several smaller ones, or live with the scroll box.
#Limits that apply here
Limit | Value | What happens |
|---|---|---|
Large-document scroll mode | 500,000 characters | Past this, the document shows "⚠️ Large content detected. Rendering in scrollable mode." and sits in a scrolling box 1,200 pixels high instead of showing inline. |
Very large documents | Over 500,000 characters | Only the part you are looking at is drawn at any one time. |
Document from a URL | 2.5 MB | A document loaded from a URL that is larger than 2.5 MB is rejected (error 413), and so is a content type that is not allowed (error 415). Capable also upgrades http addresses to https and refuses anything that is not http or https. |
#A few things that catch people out
The link icon in the bordered header never appears.
#Related
Editor is replaced by 'Invalid markdown provided' naming some other language
The renderer threw on the current text AND language detection guessed something other than
Saving a macro fails with 'Unable to save changes as the loaded markdown is not associated with the
The stored document belongs to a different page than the one you are editing. Typically af
Everything else
The rest of this family.
Found it? Good.
