I’m writing an extension that will be rendering some markdown that’s saved in a json file inside a larger Widget.
I started implementing this using Marked etc. however, I realised I may be re-inventing the wheel and thought I could use a MarkdownCell instead.
Unfortunately I’m completely stumped as to how to create and render a MarkdownCell outside of a notebook, or if this is even possible… I feel like it should be!
Where I’m currently stuck is that in order to create a MarkdownCell object I need to pass it a whole bunch of arguments as part of IMarkdownCellModel a lot of which I think are usually sorted by the notebook.
Any help of advice greatly appreciated.