New request
#3335: Increase default markdown preview size limits (64KB / 1500 lines too restrictive)
We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.
Issue
enhancementhelp wantedux
The current defaults for rich markdown preview in the workspace panel are:
MD_PREVIEW_RICH_RENDER_MAX_BYTES = 64 * 1024(64 KB)MD_PREVIEW_RICH_RENDER_MAX_LINES = 1500
Files slightly above these thresholds (e.g. 85 KB / 2549 lines) fall back to plain text
with no option to force-render. Suggested defaults: 256 KB / 5000 lines, or alternatively
expose these as environment variables (e.g. HERMES_WEBUI_MD_PREVIEW_MAX_BYTES) so users
can tune them without patching the source.
Assessmentadvisory
feature● easy85% confidence
Simple threshold bump or environment-variable wiring for existing markdown preview limits.
Likely files
- static/workspace.js
- entry/api/config.py
- infra/config/.env.example
Create the request