`quarto preview -h` shows pandoc help and does not stop execution of preview
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- deno, typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
Reproduce with quarto preview -h in any Quarto project and compare it with quarto render -h, which shows the expected help. The payload names only the quarto preview command and its -h flag, so start from how that command parses flags and where unrecognised flags are passed through to pandoc. Done when -h prints Quarto's help and exits without starting a preview or rendering the document.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
For example, quarto preview --port 7620 -h outputs
Preparing to preview
[1/1] part_2/part_2.qmd
pandoc [OPTIONS] [FILES]
-f FORMAT, -r FORMAT --from=FORMAT, --read=FORMAT
-t FORMAT, -w FORMAT --to=FORMAT, --write=FORMAT
-o FILE --output=FILE
--data-dir=DIRECTORY
[...]
and previews the document.
Steps to reproduce
Run quarto preview -h in any Quarto project.
Actual behavior
For example, quarto preview --port 7620 -h outputs
Preparing to preview
[1/1] part_2/part_2.qmd
pandoc [OPTIONS] [FILES]
-f FORMAT, -r FORMAT --from=FORMAT, --read=FORMAT
-t FORMAT, -w FORMAT --to=FORMAT, --write=FORMAT
-o FILE --output=FILE
--data-dir=DIRECTORY
[...]
and previews the document.
Expected behavior
Help message overrides all other flags, no preview or execution.
Your environment
MacOS 27.2.0
Quarto runs from CLI.
Quarto check output
Quarto 1.11.9
[✓] Checking environment information...
Quarto cache location: /Users/tok/Library/Caches/quarto
Project root: /Users/tok/imperial_computation/optimisation_coursework/src
Project config: /Users/tok/imperial_computation/optimisation_coursework/src/_quarto.yml
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.9.8: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.11.9
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2026.11
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/tok/Library/TinyTeX/bin/universal-darwin
Version: 2026
[✓] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: /Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge
Source: MacOS known location
[✓] Checking basic markdown render....OK
[✓] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
[✓] Checking Python 3 installation....OK
Version: 3.13.12
Path: /Users/tok/imperial_computation/optimisation_coursework/.venv/bin/python3
Jupyter: 5.9.1
Kernels: python3, julia-1.12
(\) Checking Jupyter engine render....[IPKernelApp] WARNING | Kernel is running over TCP without encryption. All communication (including code and outputs) is sent in plain text and is susceptible to eavesdropping. Use IPC transport or launch with kernel manager-provisioned CurveZMQ keys to enable transport encryption.
[✓] Checking Jupyter engine render....OK
[✓] Checking Julia installation...
- Ngôn ngữ chính
- JavaScript
- Star
- 6.2k
- Fork
- 492
- Merge trung bình
- 15 giờ 15 phút
- Pull request đã merge (30 ngày)
- 94
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/quarto-cli
-
bootstrap enhancement themes
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
quarto-dev/quarto-cli#15421 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
quarto-dev/quarto-cli#15408 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
quarto-dev/quarto-cli#15401 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug callouts docx regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 81/100
quarto-dev/quarto-cli#15394 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug lightbox
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
quarto-dev/quarto-cli#15393 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quarto-dev/quarto-cli
Issue tương tự
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
LangerSword/gitone#7 ·
-
good first issue reliability security should-have
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 13 ngày
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner schemeCó thể đã có người làm @Bensonbenyi đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Mintplex-Labs/anything-llm#7338 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày