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

Support for running nbqa on quatro format (.qmd) markdown files #881

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

hguturu
Copy link

@hguturu hguturu commented Mar 18, 2025

Closes #880

Two main changes:

20250324:

  • Refactored usage of _restore_quarto_cell_options so other formats don't break
    • Removed logic all together since both #| and # | are supported
  • Discovered new cell option behavior and checking quarto team if valid behavior or bug in quarto - Quarto Cell Options Specification quarto-dev/quarto-cli#12363
    • Test case added for new multi-line cell options

PR simplified to just checking .qmd extension since special handling logic for quarto #| are no longer needed. Authors also confirm {python} is required for runable code blocks (the same ones we format) quarto-dev/quarto-cli#12364 (reply in thread). All other cases of references to python are test with syntax highlighting.

Code tested locally with tox -e py and all tests passing, so should be ready for another round of github actions.

hguturu added 2 commits March 24, 2025 13:52
…break other formats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Add support for qmd markdown files
1 participant