Closed jwaspin closed 11 months 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.
This branch was based on dev, re-creating this PR based from the develop branch instead.
Closes
246
Changes
New "Simple_html" writer. This was copied from the html writer. Names were changes where required for functionality.
details
,summary
, andsection
tags were all changed todiv
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.