adiwg / mdTranslator

Metadata translation tool built using Ruby
https://www.adiwg.org/mdTranslator/
The Unlicense
14 stars 12 forks source link

Feature/simple html for word #253

Closed jwaspin closed 11 months ago

jwaspin commented 1 year ago

Closes

246

Changes

New "Simple_html" writer. This was copied from the html writer. Names were changes where required for functionality. details, summary, and section tags were all changed to div tags. This seems to solve the formatting issues.

No breaking changes

None of these changes should break existing functionality, nothing was removed, only a new writer was added.

Testing

I used the command line tool to translate example mdJson payload to the simple html format using this command:

bundle exec mdtranslator translate example_mdJson.json -r mdJson -w simple_html > simple.html

then open the simple.html file in MS Word.

dwalt commented 1 year ago

This is an improvement. We did lose the section links and the map graphic is no longer rendered, but this is a good start. I recommend merging so that we can run test data through and see what we need to change.

jwaspin commented 11 months ago

This branch was based on dev, re-creating this PR based from the develop branch instead.