quarto-dev / quarto-dev/quarto-cli
Pre render for quarto preview
Personne n'a encore pris cette issue.
- Langage dominant
- JavaScript
- Étoiles
- 6k
- Forks
- 458
- Merge moyen
- 1 j 9 h
- PR mergées (30 j)
- 41
Description
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/4822
Originally posted by itepifanio March 14, 2023
Quarto provides pre and post rendering features but it doesn't extend when live previewing the documents.
I have a script that reads yaml content and outputs .qmd files used in a Quarto website. I was trying to add a custom watcher for the yaml files, this way, when a yaml file changes the .qmd files the Quarto live previewing would refresh.
My solution was running Quarto as a subprocess and creating the custom watcher. A pre rendering that works with live previewing would make my life easier because I would be able to run the yaml watcher script without working with subprocessing.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Start by tracing the Quarto preview path and how pre-render scripts and file watchers are currently handled. Verify the behavior described in the issue: pre-rendering should run during live preview, and changes to watched YAML files should refresh the generated .qmd files and preview without requiring a subprocess.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- cli, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 42/100