# 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'). --- ## Related [Editor is replaced by 'Invalid markdown provided' naming some other languageThe renderer threw on the current text AND language detection guessed something other than](https://help.gocapable.com/markdown/editor-is-replaced-by-invalid-markdown-provided-naming-some-other-language.html) [Saving a macro fails with 'Unable to save changes as the loaded markdown is not associated with theThe stored document belongs to a different page than the one you are editing. Typically af](https://help.gocapable.com/markdown/saving-a-macro-fails-with-unable-to-save-changes-as-the-loaded-markdown-is-not-associated-with-the.html) [Everything elseThe rest of this family.](https://help.gocapable.com/markdown/everything-else.html) --- _Found it? Good._