INNER CODE UNIT · Python
_process_cells_for_md
Kotlin/kandy · util/kandy-samples-utils/nb_to_doc.py:136
def _process_cells_for_md(
md_file,
cells: List[Tuple[NotebookNode, Optional[str], Optional[str]]],
title_cell_index: Optional[int],
base_name: str,
md_filename: str
) -> None:
"""
Process cells for markdown output.
Args:
md_file: File object to write to
cells: List of tuples containing (cell, output_type, output_content)
title_cell_index: Index of the title cell
base_name: Base name for function names
md_filename: Path to the output markdown file
"""
code_index = 1