You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
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?
We can then preserve notebook directives such as code-fold and code-summary as data-code-fold and data-code-summaryattributes on Markdown code fences. This keeps the display settings available without making aidialog decide how code should appear downstream.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, andcode-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.