quarto-dev / quarto-dev/quarto-cli

Pre render for quarto preview

Aperta
#4,841 1 commento 7 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

enhancement preview project-scripts
Lingua principale
JavaScript
Stelle
6k
Fork
458
Merge medio
1g 9h
PR unite (30g)
41

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
cli, tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.