Skip to content

Commit 49c3911

Browse files
Update src/type/textCore.js
Co-authored-by: Perminder Singh <127239756+perminder-17@users.noreply.github.com>
1 parent 190f979 commit 49c3911

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/type/textCore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ function textCore(p5, fn) {
818818
* </div>
819819
*
820820
* **Note:** In p5.js 2.0+, leading and trailing spaces are ignored.
821-
* <code>textWidth(" Hello ")</code> returns the same width as <code>textWidth("Hello")</code>.
821+
* `textWidth(" Hello ")` returns the same width as `textWidth("Hello")`.
822822
*
823823
* @example
824824
* <div>

0 commit comments

Comments
 (0)