# 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. --- ## Related [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) [Freshly inserted macro sits on a placeholder for a long time before showing contentThe document exists but has not been indexed yet, so the macro retries every 15 seconds up](https://help.gocapable.com/markdown/freshly-inserted-macro-sits-on-a-placeholder-for-a-long-time-before-showing-content.html) [Everything elseThe rest of this family.](https://help.gocapable.com/markdown/everything-else.html) --- _Found it? Good._