Skip to content

Commit eff6c3a

Browse files
timgates42waylan
authored andcommitted
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 <[email protected]>
1 parent f588d8b commit eff6c3a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docs/extensions/fenced_code_blocks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ a one-line code block
3737
````
3838

3939
To include a set of backticks (or tildes) within a code block, use a different number of backticks for the
40-
deliminators.
40+
delimiters.
4141

4242
`````md
4343
````

docs/extensions/meta_data.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ many lines as desired.
4545
The first blank line ends all meta-data for the document. Therefore, the first
4646
line of a document must not be blank.
4747

48-
Alternatively, You may use YAML style deliminators to mark the start and/or end
48+
Alternatively, You may use YAML style delimiters to mark the start and/or end
4949
of your meta-data. When doing so, the first line of your document must be `---`.
5050
The meta-data ends at the first blank line or the first line containing an end
5151
deliminator (either `---` or `...`), whichever comes first. Even though YAML
52-
deliminators are supported, meta-data is not parsed as YAML.
52+
delimiters are supported, meta-data is not parsed as YAML.
5353

5454
All meta-data is stripped from the document prior to any further processing
5555
by Markdown.

markdown/extensions/codehilite.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def hilite(self, shebang=True):
182182
def _parseHeader(self):
183183
"""
184184
Determines language of a code block from shebang line and whether the
185-
said line should be removed or left in place. If the sheband line
185+
said line should be removed or left in place. If the shebang line
186186
contains a path (even a single /) then it is assumed to be a real
187187
shebang line and left alone. However, if no path is given
188188
(e.i.: #!python or :::python) then it is assumed to be a mock shebang

markdown/extensions/footnotes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def run(self, parent, blocks):
256256
return False
257257

258258
def detectTabbed(self, blocks):
259-
""" Find indented text and remove indent before further proccesing.
259+
""" Find indented text and remove indent before further processing.
260260
261261
Returns: a list of blocks with indentation removed.
262262
"""

tests/test_legacy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class TestPhp(LegacyTestCase):
6666
Code block in a list item: We match markdown.pl - not sure how php gets that output??
6767
6868
PHP-Specific Bugs: Not sure what to make of the escaping stuff here.
69-
Why is PHP not removing a blackslash?
69+
Why is PHP not removing a backslash?
7070
"""
7171
location = os.path.join(parent_test_dir, 'php')
7272
normalize = True

0 commit comments

Comments
 (0)