Ask HN: What Office document renderer for Web/Electron do you recommend? 4 points by yayr 7y ago ↗ HN I know there are online viewers from MS and Google, but all open source projects seem to be either dead or quite limited. Am I missing something?
[–] nxj 7y ago ↗ discussion on stackoverflow: https://stackoverflow.com/questions/27957766/how-do-i-render...There are online viewers from MS and Google. They are only good though if you have no Electron offline scenario and want to send your data :-/JavaScript conversion always has its limits:https://github.com/lalalic/docx2html — docx to html, most elements are supported, but project seems to be deadhttps://github.com/mwilliamson/mammoth.js — supports headings, lists, tables, endnotes, footnotes, images and text boxeshttps://www.npmjs.com/package/docx2html — Converts DOCX documents to HTML in the browser or nodejs, based on lalalic library, thus also deadhttps://github.com/artburkart/docx2html — apparently, works in the browser, also deadnot sure, if there is a complete and supported project out there
1 comment
[ 2.9 ms ] story [ 11.2 ms ] threadThere are online viewers from MS and Google. They are only good though if you have no Electron offline scenario and want to send your data :-/
JavaScript conversion always has its limits:
https://github.com/lalalic/docx2html — docx to html, most elements are supported, but project seems to be dead
https://github.com/mwilliamson/mammoth.js — supports headings, lists, tables, endnotes, footnotes, images and text boxes
https://www.npmjs.com/package/docx2html — Converts DOCX documents to HTML in the browser or nodejs, based on lalalic library, thus also dead
https://github.com/artburkart/docx2html — apparently, works in the browser, also dead
not sure, if there is a complete and supported project out there