microsoft / microsoft/TypeScript-Website
PDF rendering issues in Cheat Sheets
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 1.5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 7
Description
๐ Search Terms
Cheat Sheets
๐ Version & Regression Information
(not version related)
โฏ Playground Link
No response
๐ป Code
// Your code here
๐ Actual behavior
On page Control Flow Analysis, section If Statements, code sample if (typeof input === "string", the PDF is rendered as if (typeof input โโโ โstringโ (the equation signs are not separated by spaces, the double quotation marks are typographic "66 and 99" versions instead of ASCII "...").
The code sample if ("error" in input") is rendered as if (โerrorโ in input) (double quotation issues). In section Expressions, the code sample (typeof input === "string" && is rendered as (typeof input โโโ "string" && (spaces not showing between equation signs).
๐ Expected behavior
Please use vertical quotation marks instead of typographic ones. Insert spaces between equation signs or increase spacing.
Additional information about the issue
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up โ it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Cheat Sheets PDF rendering for the Control Flow Analysis and Expressions examples described in the issue, and reproduce the output. Done means the code samples preserve vertical quotation marks and show spacing between equation signs in the generated PDF.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100