You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coradoc is basically a set of models that represent a document.
ReverseAdoc is basically an importer from HTML into the Coradoc models.
There are other importing formats that ReverseAdoc supports, including Word, and in the future, Markdown.
We should generalize ReverseAdoc which is HTML only into a “Coradoc::Importer” class to support additional formats and allow others to extend it as they require.
The text was updated successfully, but these errors were encountered:
ronaldtse
changed the title
Generalize “ReverseAdoc” into an “importer” pattern
Move "ReverseAdoc" functionality into the "Coradoc::Input::Html" class
Jul 11, 2024
This provides a backbone for implementing metanorma#72.
Convert reverse_adoc to Coradoc::Input::HTML (fixesmetanorma#100)
This commit also implements Input::{Adoc,Docx} and Output::Adoc,
based on existing code.
Everything is handled by a new Converter class and our current
CLI tools are refactored to use the new Converter class. This gives
us a solid framework for implementing metanorma#64.
Coradoc is basically a set of models that represent a document.
ReverseAdoc is basically an importer from HTML into the Coradoc models.
There are other importing formats that ReverseAdoc supports, including Word, and in the future, Markdown.
We should generalize ReverseAdoc which is HTML only into a “Coradoc::Importer” class to support additional formats and allow others to extend it as they require.
The text was updated successfully, but these errors were encountered: