# How to programmatically create a markdown cell?

**URL:** <https://discourse.jupyter.org/t/how-to-programmatically-create-a-markdown-cell/14062>\
**Category:** JupyterLab\
**Tags:** how-to, help-wanted\
**Created:** [April 28, 2022, 9:44pm UTC](https://discourse.jupyter.org/t/how-to-programmatically-create-a-markdown-cell/14062 "2022-04-28T21:44:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bollwyvl](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/bollwyvl/32/904_2.png) [@bollwyvl](https://discourse.jupyter.org/u/bollwyvl)\
**Post date:** [April 28, 2022, 10:05pm UTC](https://discourse.jupyter.org/t/how-to-programmatically-create-a-markdown-cell/14062/2 "2022-04-28T22:05:45Z")

</div>

The line between client and kernel is intentionally fairly austere: the linked code works today in e.g. JupyterLab and the IPython terminal app… but probably not nbconvert, for example. I would also probably not expect this to be extended in the future.

One approach to bridging the two is a client-specific tool such as [ipylab](https://github.com/jtpio/ipylab): it can run any jupyterlab command… but there might not be one for “new markdown cell”.

---

_[View the full topic](https://discourse.jupyter.org/t/how-to-programmatically-create-a-markdown-cell/14062)._
