Common formats only, with unsupported image types rejected before storage.
Images that stay fast after they leave the editor
MarkNest prepares uploaded images for Markdown publishing by validating the input, converting it to WebP, and keeping shared documents light enough for public reading.
Clear limits before storage
The pipeline treats images differently from general files. It protects processing time, storage, and public page weight before the asset becomes part of a document.
Every supported raster image is normalized to a browser friendly asset.
Images fit inside the configured dimensions without cropping or distortion.
Large outputs are recompressed or resized until they fit the web budget.
Built for editor and share pages
Image URLs are durable after the document is saved. Refreshing the editor or opening a public share link should load the same optimized asset, not a temporary browser object URL.
- 01
Validate original bytes, format, and pixel count before expensive processing.
- 02
Resize proportionally inside the configured maximum width and height.
- 03
Encode to WebP with adaptive quality and size reduction.
- 04
Store the optimized asset on the configured disk, including Cloudflare R2.
- 05
Use durable public URLs so editor refreshes and share links keep rendering images.