engine.proof_notebook ===================== .. py:module:: engine.proof_notebook .. autoapi-nested-parse:: Optional IPython helpers for rendering proofs inside notebooks. Classes ------- .. autoapisummary:: engine.proof_notebook.NotebookProofRenderer Functions --------- .. autoapisummary:: engine.proof_notebook.display_proof_markdown engine.proof_notebook.display_proof_mermaid Module Contents --------------- .. py:class:: NotebookProofRenderer Notebook display adapter for markdown and Mermaid proof renderings. .. py:attribute:: namespace_manager :type: rdflib.namespace.NamespaceManager | None :value: None .. py:method:: markdown(proof: engine.proof.DirectProof) -> str Display markdown rendering in a notebook output cell. .. py:method:: mermaid(proof: engine.proof.DirectProof) -> str Display Mermaid rendering in a notebook output cell. .. py:function:: display_proof_markdown(proof: engine.proof.DirectProof, *, namespace_manager: rdflib.namespace.NamespaceManager | None = None) -> None Render and display a direct proof as markdown. .. py:function:: display_proof_mermaid(proof: engine.proof.DirectProof, *, namespace_manager: rdflib.namespace.NamespaceManager | None = None) -> None Render and display a direct proof as Mermaid.