Closed fwkoch closed 1 week ago
@fwkoch is there anything downstream that might be using this? a unist select() one of the themes for example?
or do you mean to remove the directive but maintain the node type?
@stevejpurves your example is the output AST node which we do use, it's just the directive that's redundant.
Previously, when ingesting jupyter notebooks for myst, we created an in-memory markdown "file." For cell outputs, the output data was moved to a cache, keyed off arbitrary
id
, then we used anoutput
directive in the markdown "file" with thatid
to inject the output back into the document... Now we just go straight from notebook to mdast; much more straight-forward and understandable, I think.However, the little
output
directive with only anid
is still lingering in ourmyst-directives
(and the docs!). This directive does not have any user-facing functionality and now has no internal functionality either. I think we should just remove it.