quarto-dev / quarto-dev/quarto-cli

Issue with weasyprint and markdown numbers in PDF reports

Open
#3,248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

A markdown cell in a .ipynb that contains a number will be printed in a very funky way using the weasyprint engine and the format is PDF

Using the following code as a markdown cell in a ipynb

one string 212 another string

The generated pdf will look like this
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the provided markdown cell in an .ipynb, using the weasyprint engine and PDF format. Compare the generated PDF with the source text and confirm that the number renders normally rather than in the reported corrupted layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.