Skip to content

Support nbdev directives - #55

Open
RensDimmendaal wants to merge 4 commits into
mainfrom
octavo
Open

Support nbdev directives#55
RensDimmendaal wants to merge 4 commits into
mainfrom
octavo

Conversation

@RensDimmendaal

Copy link
Copy Markdown

aidialog converts ipynb files to md. AnswerAI's projects use nbdev which supports quarto directives and also has its own set of directives (e.g. echo: false, output: asis, and code-fold: show) to influence how the page renders as html or md. This PR adds support for those directives in way that mdhtml can pick them up.

@RensDimmendaal RensDimmendaal added the enhancement New feature or request label Sep 8, 2026
@RensDimmendaal
RensDimmendaal requested a review from jph00 September 9, 2026 04:12
@jph00

jph00 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The _fold bit in particular seems to be tying quite specific implementation details into a general purpose library? Perhaps a callback or post-process step or something is better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants