Drasil icon indicating copy to clipboard operation
Drasil copied to clipboard

De-duplicate and fix rendering of Jupyter artifacts

Open BilalM04 opened this issue 7 months ago • 1 comments

The current Jupyter printer (Language.Drasil.JSON.Print) is heavily duplicated, most of it being a direct copy paste of functions from Language.Drasil.HTML.Print. Duplicated functions should be imported rather than copied.

The Jupyter rendering also uses a lot of Hacky HTML rather than pure markdown, specifically tables. With the new Markdown printer, this hacky HTML should be removed by leveraging the new functions in the Markdown printer and helper. Additionally, several components in the Jupyter artifacts are just broken. For example, list indentation, expressions, and captions.

Goal: Fix broken components and reduce code duplication.

BilalM04 avatar Jul 24 '24 14:07 BilalM04