Results 216 comments of Jean Abou Samra

AFAICS, for reST, indirect references lead to special nodes that are resolved later, but in MyST, they are already resolved by markdown-it-py. Now, when it substitutes the original paragraph, Sphinx's...

> It would be nice to have some useful explanation from some contributor, on the best way to proceed for a workaround. Speaking for myself, I'm sorry, but after reading...

OK, let's look at a few of your points even though I don't understand all details yet:

> The nobackground argument is confusing. Double negatives are confusing. Not going to change without very good reason.

> It is a bit cumbersome to generate both the HTML and the CSS. I expected to have a very straight-forward solution (or convenience function) to that. Pass `full=True`.

> * linenos="table" has all the text aligned to the right. > * Not passing any cssclass doesn't apply the correct theme. (Probably clashing with the Jupyter theme that might...

> Explicitly passing a prefix to get_style_defs() has a different behavior than letting it use the default implicit prefix (that is auto-calculated based on cssclass). The documentation for the *nobackground*...

Yes, please at least separate the HTML formatter change from console lexer changes.

That sounds more like an enhancement to suggest for Sphinx itself. A Sphinx extension can't apply logic before it has been loaded (just like if you are writing a Python...