From 77fb7f1b51076becff488a9b42ef2883153262a0 Mon Sep 17 00:00:00 2001
From: Bastian Venthur
Date: Fri, 17 Jun 2022 14:46:44 +0200
Subject: fixed some spelling mistakes
---
README.md | 2 +-
docs/change_log/release-3.4.md | 2 +-
markdown/extensions/codehilite.py | 4 ++--
tests/basic/markdown-documentation-basics.html | 4 ++--
tests/basic/markdown-documentation-basics.txt | 4 ++--
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 7b979b0..c2c573e 100644
--- a/README.md
+++ b/README.md
@@ -60,5 +60,5 @@ You may report bugs, ask for help, and discuss various other issues on the [bug
Code of Conduct
---------------
-Everyone interacting in the Python-Markdown project's codebases, issue trackers,
+Everyone interacting in the Python-Markdown project's code bases, issue trackers,
and mailing lists is expected to follow the [Code of Conduct].
diff --git a/docs/change_log/release-3.4.md b/docs/change_log/release-3.4.md
index ade0ff8..9d1cd17 100644
--- a/docs/change_log/release-3.4.md
+++ b/docs/change_log/release-3.4.md
@@ -34,7 +34,7 @@ In addition, tests were moved to the modern test environment.
Various objects were deprecated in version 3.0 and began raising deprecation
warnings (see the [version 3.0 release notes] for details). Any of those object
-which remained in version 3.3 have been removed from the codebase in version 3.4
+which remained in version 3.3 have been removed from the code base in version 3.4
and will now raise errors. A summary of the objects are provided below.
[version 3.0 release notes]: release-3.0.md
diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py
index 4721c59..a54ba21 100644
--- a/markdown/extensions/codehilite.py
+++ b/markdown/extensions/codehilite.py
@@ -148,7 +148,7 @@ class CodeHilite:
except ValueError: # pragma: no cover
lexer = get_lexer_by_name('text', **self.options)
if not self.lang:
- # Use the guessed lexer's langauge instead
+ # Use the guessed lexer's language instead
self.lang = lexer.aliases[0]
lang_str = f'{self.lang_prefix}{self.lang}'
if isinstance(self.pygments_formatter, str):
@@ -299,7 +299,7 @@ class CodeHiliteExtension(Extension):
'Prefix prepended to the language when use_pygments is false. Default: "language-"'
],
'pygments_formatter': ['html',
- 'Use a specific formatter for Pygments hilighting.'
+ 'Use a specific formatter for Pygments highlighting.'
'Default: "html"',
],
}
diff --git a/tests/basic/markdown-documentation-basics.html b/tests/basic/markdown-documentation-basics.html
index 97c1e31..fd2e687 100644
--- a/tests/basic/markdown-documentation-basics.html
+++ b/tests/basic/markdown-documentation-basics.html
@@ -211,7 +211,7 @@ it easy to use Markdown to write about HTML example code:
I strongly recommend against using any `<blink>` tags.
I wish SmartyPants used named entities like `—`
-instead of decimal-encoded entites like `—`.
+instead of decimal-encoded entities like `—`.
Output:
<p>I strongly recommend against using any
@@ -219,7 +219,7 @@ instead of decimal-encoded entites like `—`.
<p>I wish SmartyPants used named entities like
<code>&mdash;</code> instead of decimal-encoded
-entites like <code>&#8212;</code>.</p>
+entities like <code>&#8212;</code>.</p>
To specify an entire block of pre-formatted code, indent every line of
the block by 4 spaces or 1 tab. Just like with code spans, &
, <
,
diff --git a/tests/basic/markdown-documentation-basics.txt b/tests/basic/markdown-documentation-basics.txt
index 6de671a..b0932f3 100644
--- a/tests/basic/markdown-documentation-basics.txt
+++ b/tests/basic/markdown-documentation-basics.txt
@@ -270,7 +270,7 @@ it easy to use Markdown to write about HTML example code:
I strongly recommend against using any `
To specify an entire block of pre-formatted code, indent every line of
--
cgit v1.2.1