Skip to content

2.0 typography tutorial has indentation and formatting problems #1169

@nbogie

Description

@nbogie

Most appropriate sections of the p5.js website?

Tutorials

What is your operating system?

Mac OS

Web browser and version

145.0.7632.45 (Official Build) (arm64)

Actual Behavior

As shown in the image,

  • there's no indentation of the body of setup or draw. This is the case throughout, for any code block using <EditableSketch/>
  • the unintentionally long banner comments wrap, distracting

Also, not shown:

  • various lines wrap awkwardly, making the code harder to follow
Image Image Image

Expected Behavior

As far as possible, lines should not wrap. Where they do they should not distract from the code.

Steps to reproduce

  1. visit https://beta.p5js.org/tutorials/typography-20/
  2. make screen window as wide as possible
  3. visit on mobile, too

Would you like to work on the issue?

yes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions