AnswerDotAI / nbdev

Create delightful software with Jupyter Notebooks
https://nbdev.fast.ai/
Apache License 2.0
4.94k stars 492 forks source link

Feature request: template new nb #1252

Open dsm-72 opened 1 year ago

dsm-72 commented 1 year ago

When I create a new nbdev notebook I almost always have the same structure

# name
> name of notebook of file ##_name.ipynb

---new-cell---

#| default_export name

---new-cell---

#| hide 
from nbdev.showdoc import *

---new-cell---
...
---new-cell---

#| hide
import nbdev; nbdev.nbdev_export()

is there a way to use nbdev to automatically scaffold this in the nbs directory?

batmanscode commented 1 year ago

https://github.com/muellerzr/nbdev-extensions should be able to help with that 😄