summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2022-07-21 08:14:21 +1000
committerWaylan Limberg <waylan.limberg@icloud.com>2022-07-25 10:08:36 -0400
commiteff6c3a0415cb63bc0b38c29b5a7f584619e3c1c (patch)
tree031b721b77092115862e82881fc36b5893b556c2
parentf588d8b0f2877c6aa5ac352d27c6f37bdbd41869 (diff)
downloadpython-markdown-eff6c3a0415cb63bc0b38c29b5a7f584619e3c1c.tar.gz
docs: Fix a few typos
There are small typos in: - docs/extensions/fenced_code_blocks.md - docs/extensions/meta_data.md - markdown/extensions/codehilite.py - markdown/extensions/footnotes.py - tests/test_legacy.py Fixes: - Should read `delimiters` rather than `deliminators`. - Should read `shebang` rather than `sheband`. - Should read `processing` rather than `proccesing`. - Should read `backslash` rather than `blackslash`. Signed-off-by: Tim Gates <tim.gates@iress.com>
-rw-r--r--docs/extensions/fenced_code_blocks.md2
-rw-r--r--docs/extensions/meta_data.md4
-rw-r--r--markdown/extensions/codehilite.py2
-rw-r--r--markdown/extensions/footnotes.py2
-rw-r--r--tests/test_legacy.py2
5 files changed, 6 insertions, 6 deletions
diff --git a/docs/extensions/fenced_code_blocks.md b/docs/extensions/fenced_code_blocks.md
index fc5c9ca..05d8082 100644
--- a/docs/extensions/fenced_code_blocks.md
+++ b/docs/extensions/fenced_code_blocks.md
@@ -37,7 +37,7 @@ a one-line code block
````
To include a set of backticks (or tildes) within a code block, use a different number of backticks for the
-deliminators.
+delimiters.
`````md
````
diff --git a/docs/extensions/meta_data.md b/docs/extensions/meta_data.md
index d5a4c87..2651324 100644
--- a/docs/extensions/meta_data.md
+++ b/docs/extensions/meta_data.md
@@ -45,11 +45,11 @@ many lines as desired.
The first blank line ends all meta-data for the document. Therefore, the first
line of a document must not be blank.
-Alternatively, You may use YAML style deliminators to mark the start and/or end
+Alternatively, You may use YAML style delimiters to mark the start and/or end
of your meta-data. When doing so, the first line of your document must be `---`.
The meta-data ends at the first blank line or the first line containing an end
deliminator (either `---` or `...`), whichever comes first. Even though YAML
-deliminators are supported, meta-data is not parsed as YAML.
+delimiters are supported, meta-data is not parsed as YAML.
All meta-data is stripped from the document prior to any further processing
by Markdown.
diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py
index a54ba21..a1e9dc3 100644
--- a/markdown/extensions/codehilite.py
+++ b/markdown/extensions/codehilite.py
@@ -182,7 +182,7 @@ class CodeHilite:
def _parseHeader(self):
"""
Determines language of a code block from shebang line and whether the
- said line should be removed or left in place. If the sheband line
+ said line should be removed or left in place. If the shebang line
contains a path (even a single /) then it is assumed to be a real
shebang line and left alone. However, if no path is given
(e.i.: #!python or :::python) then it is assumed to be a mock shebang
diff --git a/markdown/extensions/footnotes.py b/markdown/extensions/footnotes.py
index 96ed5c2..8a2e3c5 100644
--- a/markdown/extensions/footnotes.py
+++ b/markdown/extensions/footnotes.py
@@ -256,7 +256,7 @@ class FootnoteBlockProcessor(BlockProcessor):
return False
def detectTabbed(self, blocks):
- """ Find indented text and remove indent before further proccesing.
+ """ Find indented text and remove indent before further processing.
Returns: a list of blocks with indentation removed.
"""
diff --git a/tests/test_legacy.py b/tests/test_legacy.py
index 62bc075..7b2c09a 100644
--- a/tests/test_legacy.py
+++ b/tests/test_legacy.py
@@ -66,7 +66,7 @@ class TestPhp(LegacyTestCase):
Code block in a list item: We match markdown.pl - not sure how php gets that output??
PHP-Specific Bugs: Not sure what to make of the escaping stuff here.
- Why is PHP not removing a blackslash?
+ Why is PHP not removing a backslash?
"""
location = os.path.join(parent_test_dir, 'php')
normalize = True