Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Voxiferi wants to stop bad AI data at the door(opensourcewatch.beehiiv.com ↗)
    discuss
  2. Sudd(wikipedia.org ↗)
    discuss
  3. Victory: Court, Using a New Test, Rules Embedding Links Is Legal(eff.org ↗)
    discuss
  4. Woman's rare genetic mutations make her unable to feel physical pain or anxiety(popularmechanics.com ↗)
    1comments
  5. GitHub Is Having Trouble Counting Things(chuckgreenman.com ↗)
    discuss
  6. How the Meta Settlement Silences Youth Activism(eff.org ↗)
    discuss
  7. GPT6+Corv= infrastructure prod work is finally feasible(github.com/khalid-src ↗)
    1comments
  8. Show HN: Play subway surfer inside your Claude Code terminal(github.com/lucastononro ↗)
    2comments
  9. Shitty Maps and Special People(summerlightning.substack.com ↗)
    discuss
  10. Qwen3.8 models outperforms Fable 5 Using GVS5H Harness(github.com/slee-persis ↗)
    1comments
  11. Forespec – catches what your AI coder didn't know to ask(github.com/steveweed79 ↗)
    discuss
  12. Show HN: TypeScript parser for AIXM, the FAA/EUROCONTROL aviation data format(github.com/devladpopov ↗)
    discuss
  13. Why Beyond Vanilla RAG(medium.com/nikozero11 ↗)
    discuss
  14. ER visits for gambling disorders doubled after expanded online gambling market(utoronto.ca ↗)
    discuss
  15. Show HN: Understanding your Claude Code with trajectory segmentation(github.com/lucastononro ↗)
    discuss
  16. Map of America(mapofamerica.wtf ↗)
    discuss
  17. Show HN: Make Claude Code a workspace genius(slaunt.ai ↗)
    discuss
  18. Forget, then remember: checkpointing the adjoint sweep on a GPU(nablatensor.com ↗)
    discuss
  19. Ask HN: Unable to Login Google Account
    discuss
  20. We need to stop using Stored Procedures(heffree.dev ↗)
    discuss
  21. How Effective Altruism Is Controlling the AI Narrative(effort.news ↗)
    discuss
  22. Blackbird Pilots Answer Spy Plane Questions [video](youtube.com ↗)
    discuss
  23. How Did Zero Interest Rate Policy (ZIRP) Affect Software Developer Jobs?(bswen.com ↗)
    discuss
  24. AI bosses' safety push sparks rift inside OpenAI and Anthropic(ft.com ↗)
    discuss
  25. The Rouse by China Miéville – a mighty achievement from the 'new weird' author(theguardian.com ↗)
    discuss
  26. Show HN: I built an app that does social media publishing work for me(iminti.com ↗)
    discuss
  27. Competitive Market Behavior of LLMs(arxiv.org ↗)
    discuss
  28. Novo partners with Anthropic to speed up drug development with Claude(reuters.com ↗)
    discuss
  29. We Trained a Model on Office Work. It Also Got Better at Coding(surgehq.ai ↗)
    discuss
  30. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    discuss

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

4 pointsby 2h 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)

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

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

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

1h agoHN ↗

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

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