Skip to content

Use Processors as Notebook Filters?  #1229

Open
@hamelsmu

Description

@hamelsmu

Following up on #1228

We used to rely on notebook filters for processing notebooks, which had the upside that you could use nbdev directives in your Quarto project in a really lightweight way. We stopped using notebook filters for performance reasons. However, I wonder if it is possible to provide an interface to nbdev Processors that can modify notebooks through the stdin/stdout interface so people can still use these directives in their Quarto blogs in a lightweight fashion, especially if they decide to develop extensions.

The goal is that the only thing that people have to do enable nbdev directives in their plain quarto projects is make a one-line change in their _quarto.yml file like this:

---
ipynb-filters: nbdev_filters
---

@jph00 @seeM WDYT

cc: @muellerzr

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions