{
  "id": 18009412,
  "title": "Why freezing completed Markdown blocks reduces streaming rendering work",
  "url": "https://urgent.news/2026/11/03/why-freezing-completed-markdown-blocks-reduces-streaming-rendering",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-03T19:25:50.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/fyz_lemo_b8ceb29692820e58/why-freezing-completed-markdown-blocks-reduces-streaming-rendering-work-1gck"
  },
  "original_language": "en",
  "account": null,
  "summary": "The article discusses the concept of freezing completed Markdown blocks in a streaming rendering process to reduce the workload of rendering text. Traditional Markdown renderers process the entire document repeatedly, causing a quadratic increase in parsing work as the document grows. However, by keeping finished blocks on screen and only re-parsing the unfinished suffix, the parsing work can be reduced to a sum of per-block work, which is more efficient when blocks remain short. The implementation freezes preceding blocks once a new block starts, leaving them in the DOM but no longer participating in parsing and tree comparison. While this approach reduces parsing work, it does not eliminate all costs associated with rendering, such as layout and garbage collection.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 2,
    "also_reported_by": [
      {
        "outlet": "9to5Mac",
        "title": "macOS 27.3 adds native Markdown rendering to Quick Look",
        "url": "https://urgent.news/2026/11/03/macos-27-3-adds-native-markdown-rendering-to-quick-look",
        "published": "2026-11-03T23:11:22.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}