summaryrefslogtreecommitdiff
path: root/markdown/extensions
diff options
context:
space:
mode:
authorBastian Venthur <mail@venthur.de>2022-06-17 14:46:44 +0200
committerGitHub <noreply@github.com>2022-06-17 08:46:44 -0400
commit77fb7f1b51076becff488a9b42ef2883153262a0 (patch)
treedb17ffcd000d75c0a255987773f37e627dd419f6 /markdown/extensions
parent97359a4a93c0158e39f80ba82e8c99db1ffea4d9 (diff)
downloadpython-markdown-77fb7f1b51076becff488a9b42ef2883153262a0.tar.gz
fixed some spelling mistakes
Diffstat (limited to 'markdown/extensions')
-rw-r--r--markdown/extensions/codehilite.py4
1 files changed, 2 insertions, 2 deletions
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"',
],
}