Chris Sewell

Results 1261 comments of Chris Sewell

> For example I imagine MyST-NB could follow these steps: > > 1. parse the notebook Already at step (1) this in a divergence from what myst-nb currently does: the...

> That the cell is executed but omitted from the rendered document to note, this is only an issue for `inline` execution mode, otherwise this is indeed the behaviour (since...

yeh no worries, its oversite on my part for this execution mode. does `skip-execution` work correctly, for this execution mode, can't remember if I checked?

thanks for the report, I guees this may be a problem with the pygments lexer: https://pygments.org/docs/lexers/#pygments.lexers.c_cpp.CppLexer Can you provide an example notebook, i.e. I want to see what is set...

Ok ta, there is no actual pygments lexer set: ``` "metadata": { "kernelspec": { "display_name": "C++17", "language": "C++17", "name": "xcpp17" }, "language_info": { "codemirror_mode": "text/x-c++src", "file_extension": ".cpp", "mimetype": "text/x-c++src", "name":...

I'm too bothered either way TBH. As noted before, it requires minimal code changes; so as long as it doesn't class with any existing sphinx directives, then its fine by...

Heya, Perhaps `code-cell-assert` would be a better name, since it is an assertion of what the output should be, not the actual output. > If a code-cell-output did not immediately...

> I'm proposing a general mechanism whereby myst-nb could store cell outputs. eurgh, personally I don't think its a good idea to be storing outputs in a Markdown file; trying...

I'm open to discussion, I'm just not convinced it is a good idea to basically try to turn a Markdown file into a JSON one

Note the first option makes markdown-notebook conversions simpler. Also note, when converting to the docutils `docinfo`, currently all values that are lists or dicts are stripped (e.g. `{"key": {"nested": "dict"}}`)...