Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. In the Age of AI, Some in China Wonder If Learning English Is Worth the Trouble(nytimes.com ↗)
  2. Show HN: Rockbox and Doom on iPod nano 3rd gen(twitter.com/freemyipod ↗)
  3. Show HN: KiwiDesk – Tiling that feels like it shipped with macOS(github.com/kiwicanopy ↗)
  4. Show HN: Stopping AI agent swarms from hacking our systems(inwom.com ↗)
  5. Cracking a 500-Year-Old Vatican Cipher with Simulated Annealing(simonklee.dk ↗)
  6. Apple weighs Nvidia technology for potential server market return(reuters.com ↗)
  7. The Armored Sarcophagus Saving Ukrainian Soldiers(theatlantic.com ↗)
  8. OpenAI weighs funding round at $1.2T valuation before IPO(ft.com ↗)
  9. AI memory shortage: Fairphone says RAM is now 60% of materials cost(tomshardware.com ↗)
  10. OrbiChat – Danish Startup creating a chat and event app(orbichat.io ↗)
  11. Show HN: Round 1 of a vibe-coder ladder, judged by an LLM that only sees the UI(vibeladder.dev ↗)
  12. Amazon to launch Ring 'neighbourhood watch' app in UK amid US privacy fears(theguardian.com ↗)
  13. An Introduction to HTML Streaming for Interactive Web Applications(github.com/eliasdejong ↗)
  14. How Tailscale Works(tailscale.com ↗)
  15. Run DeepSeek v4.1 Flash on your Mac(github.com/sqliteai ↗)
  16. Small Programming Tricks(will-keleher.com ↗)
  17. 'Godfather of AI' says tech regulation is nearing Covid-style pivot moment(theguardian.com ↗)
  18. Django: Django-mcpz, for making MCP servers(adamj.eu ↗)
  19. NSF memo implementing Trump's 'golden age' of science unsettles researchers(science.org ↗)
  20. Is Anthropic the New Netscape?(deadneurons.substack.com ↗)
  21. DiffusionGemma: It Generates Text in Parallel (From Scratch in PyTorch)(youtube.com ↗)
  22. The New Internet(dntls.substack.com ↗)
  23. Wikivibes – Write the encyclopedia you wished existed(wikivibes.org ↗)
  24. What we changed to make one node serve 4.3M cached queries per second(readyset.io ↗)
  25. EU Chief Backs Canada's Push to Become Bloc's First Associate Member(wsj.com ↗)
  26. Red-teaming my own credential broker: 231 attacks, and the five that worked(github.com/walex4 ↗)
  27. The AI Wait Equation(xendo.bearblog.dev ↗)
  28. Show HN: Why is a fly so hard to swat?(flyswat.win ↗)
  29. Media execs sound alarm on AI(axios.com ↗)
  30. Show HN: SeasonMap – when to travel where? visualized with climate data(seasonmap.app ↗)

Show HN: Docx-to-Markdown – layout-aware Word to Markdown converter

2 pointsby 50m agodocx-editor.dev
2 comments
Hey HN, I’m the author of the https://github.com/eigenpal/docx-editor, it’s an SDK that implements Word-compatible layout engine in Typescript.

Today, we are releasing Word to markdown converter library. It’s open source and published under Apache 2.0 license. It uses our layout engine, so it can return accurate, per-page markdown blocks (with headers, footers, and image references). We also handle fonts (Google fonts as fallback) or let you pass your font files upfront for accurate content measurement.

To our surprise, Word to per-page Markdown conversion is not a solved problem even in 2026! We initially faced this friction when preprocessing Word documents for agentic workflows. For our use case, it was important to represent per-page content in markdown. Initially, we ended up using LibreOffice sidecar to convert to PDF and then using .pdf -> .md library. This was not ideal given that LibreOffice sidecar that was sitting idle most of the time.

This issue is addressed with docx-to-markdown library. it can be used directly in your Typescript ingestion pipeline. Try with your docs at https://www.docx-editor.dev/solutions/word-to-markdown.

(if you catch any bugs please let us know in the comments / or file gh issues)

45m agoHN ↗

This is great, working on a soon to launch Markdown editor soon so this is especially relevant. I'll play around with it later but I'm curious, how are you deciding pagination boundaries? I've found word and docx and various open source projects vary on philosophy and implementation.

44m agoHN ↗

Thanks! Our core product is a Word editor that you can embed in your React / Vue app. So we just repurposed the layout engine to be an accurate converter. You can see how our layout engine "sees" the document in the left tab of the demo.