def get_md_cell(source, metadata=None):
    """Markdown cell containing `source` with `metadata`."""
    return {'cell_type': 'markdown', 'metadata': {} if metadata is None else
        metadata, 'source': source}
