frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Progressive Mermaid and streaming diff code blocks – 100x faster render

1•simon_he•1h ago
I'm releasing vue-markdown-render, a Vue-focused Markdown rendering library optimized for large documents and real-time previews. The core features are progressive/incremental Mermaid rendering, streaming diff code blocks (render as the diff arrives), and various renderer-level optimizations that drastically reduce time-to-first-render and memory use in heavy workloads.

Why this exists: Many Markdown renderers struggle with huge documents, large embedded diagrams, and live-editing scenarios. Typical approaches block rendering until all assets/graphs/code are processed. In interactive editors this causes jank and slow feedback loops. vue-markdown-render targets those pain points with a streaming-first design.

Key features:

Progressive Mermaid: complex diagrams render incrementally so users see a usable diagram earlier. Streaming diff code blocks: diff/code-block rendering can stream partial results during reception for instant feedback. Performance-first architecture: lazy parsing, chunked rendering, and careful memory usage. In some large-doc benchmarks we observe ~100× speedups vs Streamdown (depends on test case and environment). Quick start npm i vue-markdown-render // in a Vue 3 app import { createApp } from 'vue' import App from './App.vue' import VueMarkdownRender from 'vue-markdown-render' const app = createApp(App) app.use(VueMarkdownRender) app.mount('#app')

Reproducing the benchmark (approx) We provide a small benchmark repo under /playground (or attach a link in your release). To reproduce a similar test:

Prepare a large markdown file containing many code blocks and a few large Mermaid diagrams (e.g., 50k+ lines total). Run a timed render with Node or a browser automation script for both vue-markdown-render and Streamdown (same input). Measure time-to-first-paint and full render time, and profile memory usage. Notes and caveats: The "100×" number is workload dependent: it represents observed accelerations in some heavy, real-world-like tests, not a universal guarantee. Differences in environment (CPU, browser, Node version) and the specific document shape affect results. We welcome replication and PRs on test harnesses. Discussion points / Ask the community

What large-doc workflows have you tried that still feel slow? Would you prefer an out-of-the-box editor integration (Monaco/CodeMirror demo) for this? Ideas for additional streaming-friendly Markdown extensions? Links

Repo: https://github.com/Simon-He95/vue-markdown-render Playgrounds / benchmarks: (link to playground folder or separate bench repo) Quick demo: (link to demo site if available) Thanks — happy to answer questions, and would love feedback on benchmark methodology or integration examples.

Personal Note

https://daringfireball.net/2025/09/personal_site
1•Bogdanp•14s ago•0 comments

Show HN: Jade Hosting – drag-and-drop deployment

1•AdamEssemaali•1m ago•0 comments

AI can forecast your future health, just like the weather

https://www.bbc.com/news/articles/cx2pj502ev6o
1•gmays•2m ago•0 comments

Gearing Up for a Busy Q4

https://taylordesseyn.substack.com/p/gearing-up-for-a-busy-q4
1•mooreds•2m ago•0 comments

Health summaries: learn the essentials 3x faster

https://summabase.com/en
1•luis13hgr•5m ago•0 comments

Ask HN: Samsung Galaxy Ultra 25. Linux

1•lavren1974•5m ago•1 comments

Power generation by energy source, France, real time

https://www.rte-france.com/en/eco2mix/power-generation-energy-source
2•causalitycone•6m ago•0 comments

ShadowLeak: Zero-Click, Service-Side Attack Exfiltrating Sensitive ChatGPT Data

https://www.radware.com/blog/threat-intelligence/shadowleak/
1•croemer•7m ago•1 comments

Ask HN: Anyone using device/browser fingerprint in production?

1•the_arun•7m ago•0 comments

Building Accessible Progressive Search

https://jch.github.io/posts/2025-01-30-building-modern-search.html
1•wrycoder•9m ago•0 comments

Show HN: Lucy Edit AI-A Free Text-Guided AI Video Editor

https://lucyedit.co
1•cirdhu•10m ago•0 comments

Is There Any Real Money in Renting Out AI GPUs?

https://www.wheresyoured.at/is-there-any-real-money-in-renting-out-ai-gpus/
1•speckx•11m ago•0 comments

How to spot software supply chain attacks and stop worms-before it's too late

https://www.zdnet.com/article/5-ways-to-spot-software-supply-chain-attacks-and-stop-worms-before-...
1•CrankyBear•15m ago•0 comments

Web Interface Guidelines

https://vercel.com/design/guidelines
1•cyanf•17m ago•0 comments

Three Meanings of Effects

https://burakemir.ch/post/three-meanings-of-effects/
1•dagipflihax0r•18m ago•0 comments

Marilyn Hagerty, Whose Column on Olive Garden Went Viral in 2012, Dies at 99

https://www.wsj.com/us-news/marilyn-hagerty-obituary-b456a4df
1•impish9208•18m ago•1 comments

Texas A&M president to step down after turmoil over gender identity lesson

https://thehill.com/homenews/education/5511704-texas-am-president-to-step-down-after-turmoil-over...
2•malshe•19m ago•0 comments

Setting up and hardening a Hetzner server

https://danieltenner.com/setting-up-and-hardening-a-hetzner-server/
2•tosh•19m ago•0 comments

Thanks Claude – GitHub Search

1•bognition•22m ago•0 comments

The Forklift Certified License

https://aria.dog/barks/forklift-certified-license/
1•dsr_•22m ago•0 comments

No sorting needed: Plasma torch shows promise for hassle-free plastic recycling

https://techxplore.com/news/2025-09-plasma-torch-hassle-free-plastic.html
1•PaulHoule•23m ago•0 comments

Show HN: RustNet, a network monitoring TUI with process identification

https://github.com/domcyrus/rustnet
2•hubabuba44•24m ago•0 comments

Austria's armed forces switch to LibreOffice

https://www.heise.de/en/news/Austria-s-armed-forces-switch-to-LibreOffice-10660761.html
2•breve•24m ago•0 comments

The Tatami Galaxy

https://en.wikipedia.org/wiki/The_Tatami_Galaxy
1•truegoric•24m ago•0 comments

Saudi Arabia Seeks New Security Alliances as Trust in U.S. Erodes

https://www.wsj.com/world/middle-east/saudi-arabia-seeks-new-security-alliances-as-trust-in-u-s-e...
1•nabla9•25m ago•0 comments

Miscellaneous Updates

https://herman.bearblog.dev/misc-updates/
1•tosh•26m ago•0 comments

VPN usage at risk in Michigan under new proposed adult content law

https://www.techradar.com/vpn/vpn-privacy-security/vpn-usage-at-risk-in-michigan-under-new-propos...
3•tejohnso•26m ago•0 comments

The Rising Costs of Vibe Coding: Why AI-Aided Programming Isn't Cheap Anymore

https://lightcapai.medium.com/the-rising-costs-of-vibe-coding-why-ai-aided-programming-isnt-cheap...
1•WASDAai•26m ago•2 comments

The Web's Most Tolerated Feature

https://www.bocoup.com/blog/the-webs-most-tolerated-feature
4•jugglinmike•26m ago•0 comments

Thanks Claude

https://github.com/search
1•bognition•27m ago•0 comments