format 2.0 typography tutorial for better readability#1170
Merged
ksen0 merged 1 commit intoprocessing:2.0from Feb 19, 2026
Merged
format 2.0 typography tutorial for better readability#1170ksen0 merged 1 commit intoprocessing:2.0from
ksen0 merged 1 commit intoprocessing:2.0from
Conversation
ksen0
reviewed
Feb 17, 2026
| paperImg, | ||
| 0, 0, width, height, // Destination size | ||
| 0, 0, paperImg.width, paperImg.height, // Source size | ||
| 0, 0, paperImg.width, paperImg.height, //Src size |
Member
There was a problem hiding this comment.
Very minor: I think // Source size is better (more direct, the space is good?)
a7c94ca to
c7db93c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1169
changes
Edited only src/content/tutorials/en/typography-2.0.mdx
For all uses of EditableSketch, add two spaces at the start of every line in the code span. Markdown parser seems to eat two from each line that has them (before the component gets access).
This way, the remaining relative indentation the author sees is what will be rendered.
I would suggest it for all tutorials using EditableSketch or code spans.
Code fences with triple-backtick do not have this problem.
Wrap various long code lines intentionally, for readability
make banner comments shorter.
testing
Tested all examples are still running
Manually checked wrapping and readability on the tutorial
screenshots