metanorma / coradoc

Coradoc is the Core AsciiDoc Parser used by Metanorma
MIT License
1 stars 4 forks source link

Move "ReverseAdoc" functionality into the "Coradoc::Input::Html" class #100

Closed ronaldtse closed 3 months ago

ronaldtse commented 5 months ago

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.

hmdne commented 3 months ago

We have mistakenly closed this issue. #118 needs to be merged first.