Skip to content

Reference docs rendering ' as ' #8643

@R4chel

Description

@R4chel

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • p5.strands
  • WebGL
  • DevOps, Build process, Unit testing
  • Internationalization (i18n)
  • Friendly Errors
  • Other (specify if possible)

p5.js version

v1.11.11

Web browser and version

safari Version 26.1 and Google Chrome 145.0.7632.77 (Official Build) (arm64)

Operating system

MacOs Sequoia V15.7.3

Steps to reproduce this

Steps:

Go to the reference for loadFont and see second paragraph: "For example, '/assets/inconsolata.otf'."

Image

The source for that text shows intent to have use quotes.

* Paths to local files should be relative. For example,
* `'assets/inconsolata.otf'`. The Inconsolata font used in the following

There are other instances in reference including on loadImage. I happen to come across those examples but did not look further. The problem seems to be a general encoding issue and not at all specific to any one page, I'm just showing the one that caused me notice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions