def add_markdown_cell(work_notebook, text):
 markdown_cell = {'cell_type': 'markdown', 'metadata': {}, 'source': [rst2md(text)]}
 work_notebook['cells'].append(markdown_cell)

def add_markdown_cell ( work_notebook , text ) : markdown_cell = { 'cell_type' : 'markdown' , 'metadata' : { } , 'source' : [ rst2md ( text ) ] } work_notebook [ 'cells' ] . append ( markdown_cell )
add a markdown cell to the notebook parameters code : str cell content .