Big document renders inside a small scrolling box with a '⚠️ Large content detected' banner

What you are seeing

A big document renders inside a small scrolling box with a '⚠️ Large content detected' banner.


#Why it happens

The document is over 500,000 characters, so the macro switches to a fixed 1200px-high scroller and virtualised rendering.


#What to do

Split the document into several smaller ones, or accept the scroll box.


#Limits that apply here

Limit

Value

What happens

Large-document scroll mode

500,000 characters

Past this the document macro shows '⚠️ Large content detected. Rendering in scrollable mode.' and renders inside a fixed 1200px-high scroll box instead of inline.

Virtualised rendering threshold

500,000 chars ; 1,000,000 chars (large p

Above the threshold the document is chunked (400 lines or 60,000 characters per chunk, fences kept intact) and only visible chunks are rendered.

URL fetch size limit

2.5 MB

A URL-sourced document larger than 2.5 MB is rejected with 413; a disallowed content type is rejected with 415. The proxy also upgrades http to https, refuses non-http(s) schemes, and blocks IP litera


#A few things that catch people out

  • The link icon in the bordered header never renders: it is gated on a comparison that can never be true (the stored value is the URL string, not the literal 'url').



Found it? Good.