Re:When XML Beats JSON: UI Layouts
by Kuinox on Wednesday October 30, 2019 @09:19AM
(#21397344)
So Jupyter Notebooks should be XML instead of JSON. Right ?
[ Parent
| on HN ]
AFAIK notebooks are a list of cells, each cell consisting in text, but there is no meta information within the cells, so JSON looks OK there.
Honestly, they should be markdown. This would also solve the versioning problem.
Re:When XML Beats JSON: UI Layouts
by wodenokoto on Wednesday October 30, 2019 @12:14PM
(#21399302)
And where would you store the output?
R uses markdown + a separate file with the output cached and while the non-rendered file is easier to version the whole thing is a lot more difficult to handle.