nbprint.config.content.ContentMarkdown¶
- pydantic model nbprint.config.content.ContentMarkdown[source]¶
Bases:
Content- field content: str | None = ''¶
- generate(metadata: dict | None = None, config: Configuration | None = None, parent: BaseModel | None = None, **_) NotebookNode | list[NotebookNode] | None[source]¶
Generate a notebook node for this model. This will be called before the runtime of the notebook, use it for code generation.
Args:¶
metadata (dict): common cell metadata
Returns:¶
NotebookNode: the content of the notebook node