Ability to render code blocks to PDF
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
Educator request - he runs a Robotics Club and would like to print out some programs for the students to create.
Right-click Snapshot feature will download code image as a .png
Screenshot tool will render blocks as .svg (https://makecode.com/screenshot-tool)
Related issue: Printing docs in color https://github.com/microsoft/pxt/issues/5449
Contributor guide
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 by reviewing the existing right-click Snapshot feature and the screenshot tool at https://makecode.com/screenshot-tool, which produce PNG and SVG output respectively. Determine the intended PDF scope, including how code blocks should render for printing, and define completion criteria for a usable PDF output. Check related issue #5449 for context before proposing an implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100