Discussion 🗣
Currently, the transformer for converting OOXML<->CiceroMark is quite big. The issue aims at dealing with refactoring it to reduce the size keeping the logic intact.
Context
Things to look at while refactoring:
Any other thing that can be refactored.
Detailed Description
The need for this issue arose during PR #441. Due to lack of time, the current implementation was done to launch a working transformer.
Discussion 🗣
Currently, the transformer for converting
OOXML<->CiceroMarkis quite big. The issue aims at dealing with refactoring it to reduce the size keeping the logic intact.Context
Things to look at while refactoring:
traverseNodes(): merge the 4th argument-parent propertiesinto thepropertiesargument and necessary changes in code for proper functioning. The reason beingparent propertiesare generally used by nodes so they should be present in thepropertiesitself.generateTextOrCodeOOXML(): merge the 4th argument-parent propertiesinto thepropertiesargument and necessary changes in code for proper functioning. Same reason as above.markdown-docxinalgo-ooxmlbranch are uglified. Prettify all the tests.Any other thing that can be refactored.
Detailed Description
The need for this issue arose during PR #441. Due to lack of time, the current implementation was done to launch a working transformer.