Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use .qmd as as full replacement of .ipynb #1461

Open
tatakof opened this issue Oct 19, 2024 · 0 comments
Open

use .qmd as as full replacement of .ipynb #1461

tatakof opened this issue Oct 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tatakof
Copy link

tatakof commented Oct 19, 2024

hello!

wanted to know if it's possible to use only .qmd files for a full nbdev project (no .ipynb, all the code on .qmd) using nbdev's directives like so:


```{python}
#| default_exp core

\```

<some markdown>

```{python}
#| hide
from nbdev.showdoc import *

\```

<some markdown>

```{python}
#| export
def foo(): pass

\```

```{python}
#| hide
import nbdev; nbdev.nbdev_export()

\```
        

and get a result package with a core.py containing foo()

cheers,
Francis

@tatakof tatakof added the bug Something isn't working label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant