djplaner / word-to-canvas-module

A userscript that will create a Canvas Module (including all module items) from a Word document (using special styles)

Home Page:https://djplaner.github.io/word-to-canvas-module/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Experiment with round trip - html-to-docx

djplaner opened this issue · comments

Figure out a Javascript way to convert Canvas module (html) to docx using existing library

Possible libraries

  • privateOmega/html-to-docx

    • Problems getting it to run the browser
    • when working from command line to node does have some problems with basic COM14 HTML content

Possible evolution

  • Simple HTML test with a collection of pages
  • Refine with broader test for styles to handle round trip
  • Implement JS to use API to extract page content