ui/markdown_render_budget library

Functions

scanMarkdownForRendering(String source, {required ChatInputBudget budget}) → MarkdownRenderDecision
Use exactly the same grammar and budget as the body renderer. Retain chat's typed omission notice so both preflight and rendering communicate the limit.