Hacker News

New stories

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

32m 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

30m agoHN ↗

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

14m 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 )