Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Numerical Tours(numerical-tours.com ↗)
    discuss
  2. IPC Panic, a 4-call kernel panic in Apple XNU, up to macOS and iOS 26 included(seriot.ch ↗)
    discuss
  3. Inside the MIT Report on How AI Is Eroding Campus Culture(learningcurve.fm ↗)
    1comments
  4. GitMir just released Vibe, it's like Claude on steroids(gitmir.com ↗)
    discuss
  5. Mercury Books – Accounting Software Built into Your Bank Account(mercury.com ↗)
    discuss
  6. Hacking a Xiaomi Mi Band 4 to Run Super Mario Bros(qwertyforce.dev ↗)
    discuss
  7. Fedora 45 beta drags the Linux console into the 21st century(theregister.com ↗)
    discuss
  8. AI Agents Work. So Why Is Memory Becoming a Problem?(medium.com/majid.fekri ↗)
    discuss
  9. Show HN: LaunchPad-Lite – Open-Source Next.js 15 with Better Auth and Drizzle(github.com/bzdevelopments ↗)
    discuss
  10. Show HN: OpenDocBot – bring your own model to Word, Excel and PowerPoint(opendocbot.com ↗)
    discuss
  11. Agents: The New, New Kingmakers(redmonk.com ↗)
    discuss
  12. An Educational GEMM Ladder for Helios GPUs(amd.com ↗)
    discuss
  13. Lumai Iris – First Optical Computing System(lumai.ai ↗)
    discuss
  14. Jev means structured output is interesting again(seangoedecke.com ↗)
    discuss
  15. What is LLMjacking, and why should IT pros care?(itbrew.com ↗)
    discuss
  16. Column built an issuer processor from scratch(column.com ↗)
    discuss
  17. Set aside human extinction hypotheticals: can we keep AI from persisting itself?(keydiscussions.com ↗)
    discuss
  18. Elon Musk Trains His Political Chaos Machine on the U.K(wsj.com ↗)
    1comments
  19. Vira: Parking control and vehicle registration platform for Norway(mutaz.no ↗)
    discuss
  20. Digit 5 Sets a New Bar for Humanoid Robot Safety(ieee.org ↗)
    discuss
  21. A.I.'S Effect on the Work Force Is Showing Up in Wages(nytimes.com ↗)
    3comments
  22. Combino – AI-Powered Daily Word Game(combino.io ↗)
    discuss
  23. With 1 Extension: $20K in Bounties from Anthropic, Perplexity, Google, Microsoft(forever.security ↗)
    5comments
  24. Nobel Laureate Michael Kremer Picked as World Bank Top Economist(bloomberg.com ↗)
    discuss
  25. What Regulatory Capture Looks Like [pdf](danicaratelli.github.io ↗)
    discuss
  26. The 'But China ' Dilemma Driving the A.I. Race(nytimes.com ↗)
    discuss
  27. Show HN: A Coding Agent from Scratch(softwarewrighter.com ↗)
    discuss
  28. How is Wi-Fi node networking implemented in EasyMesh?
    discuss
  29. Show HN: Font Generator(ufontgenerator.com ↗)
    discuss
  30. The Long Doomsday of A.I.(newyorker.com ↗)
    discuss

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

2 pointsby 1h agodocx-editor.dev
5 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)

1h 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.

1h 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.

30m agoHN ↗

How hard is it to go the other direction?

I've been doing some writing things where they use Docx and I use Markdown (have been since before the LLM craze). Boy is it annoying to go back and forth, will be trying the one direction anyhow

28m agoHN ↗

Docx to markdown is a lossy conversion, so getting .docx back is possible but will lose most formatting details

13m agoHN ↗

In this case, I would imagine two scenarios

1. I have markdown, I want a docx version, that is equivalent to html rendering, markdown's whole point, almost certainly many options out there

2. I have docx, I want to make edits in markdown (because vim motions), need to sync those edits back. Ideally just some value swaps in the "DOM"

It may very well be the case that Office now supports Markdown natively. I seem to recall possibly seeing that. Google Workspace is as well iirc. One of the two already had support, the other was just releasing the first takes (back when I last looked )