Skip to content

Commit

Permalink
spelling: image
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref committed Oct 13, 2023
1 parent ca90110 commit f57de89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function getMarkdownHeaders (lines, maxHeaderLevel) {
else if (x.type === md.Syntax.Image) {
// Images (at least on GitHub, untested elsewhere) are given a hyphen
// in the slug. We can achieve this behavior by adding an '*' to the
// TOC entry. Think of it as a "magic char" that represents the iamge.
// TOC entry. Think of it as a "magic char" that represents the image.
return '*';
}
else {
Expand Down

0 comments on commit f57de89

Please sign in to comment.