Is there a way to save the output of a cell?

I have a similar use case: I want to convert a jupyter-style markdown file, representing the output of a cell, to pdf. JupyterLab displays it just fine in the notebook or a tab opened by “Create new view for output”. The output includes HTML to insert figures from external files, and latex. I looked at both of the packages suggested in this question, didn’t find what I’m looking for.
My purpose is to export nicely-formatted analysis to documents. It looks like nbformat must have code to do this, but I don’t see how to implement my example.