microsoft / microsoft/pxt

Ability to render code blocks to PDF

Open
#9,977 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.