Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -H`
  • Loading branch information
kianmeng authored and pbodnar committed Oct 13, 2024
1 parent 2fbb8b1 commit dd8de86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mistletoe/span_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def eval_new_child(parent, child):

def relation(x, y):
if x.end <= y.start:
return 0 # x preceeds y
return 0 # x precedes y
if x.end >= y.end:
if x.parse_start <= y.start and x.parse_end >= y.end:
return 2 # x contains y
Expand Down
2 changes: 1 addition & 1 deletion test/samples/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ Quote Level from the Text menu.

Markdown supports ordered (numbered) and unordered (bulleted) lists.

Unordered lists use asterisks, pluses, and hyphens -- interchangably
Unordered lists use asterisks, pluses, and hyphens -- interchangeably
-- as list markers:

* Red
Expand Down

0 comments on commit dd8de86

Please sign in to comment.