AnswerDotAI / AnswerDotAI/nbdev

use .qmd as as full replacement of .ipynb

Open
#1,461 1 comment 2 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
5.3k
Forks
513
Avg merge
2d 30m
Merged PRs (30d)
8

Description

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

\```

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

\```

```{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

Contributor guide

Open the contributing guide

Research direction

Start at the nbdev.nbdev_export entry point and trace how the shown directives are processed for .ipynb inputs. Assess the requested all-.qmd workflow, including the default_exp, hide, and export directives; done means a project with no .ipynb files produces a package whose core.py contains foo().

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.