diff options
author | Edward Betts <edward@4angle.com> | 2018-01-13 09:25:40 +0000 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2018-01-13 11:42:50 -0500 |
commit | 3fad73031e544de6c9f74621de923da3806a6c21 (patch) | |
tree | c9c4c6524f6d46627856d46a5caf011b9e293b2e /markdown/extensions | |
parent | 6d1537ac5e528db9e91cf905f507bb409e546d2c (diff) | |
download | markdown-3fad73031e544de6c9f74621de923da3806a6c21.tar.gz markdown-3fad73031e544de6c9f74621de923da3806a6c21.tar.bz2 markdown-3fad73031e544de6c9f74621de923da3806a6c21.zip |
Correct spelling mistakes.
Diffstat (limited to 'markdown/extensions')
-rw-r--r-- | markdown/extensions/def_list.py | 4 | ||||
-rw-r--r-- | markdown/extensions/footnotes.py | 2 | ||||
-rw-r--r-- | markdown/extensions/smart_strong.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/markdown/extensions/def_list.py b/markdown/extensions/def_list.py index 9057ebd..54fc064 100644 --- a/markdown/extensions/def_list.py +++ b/markdown/extensions/def_list.py @@ -51,7 +51,7 @@ class DefListProcessor(BlockProcessor): sibling = self.lastChild(parent) if not terms and sibling is None: # This is not a definition item. Most likely a paragraph that - # starts with a colon at the begining of a document or list. + # starts with a colon at the beginning of a document or list. blocks.insert(0, raw_block) return False if not terms and sibling.tag == 'p': @@ -59,7 +59,7 @@ class DefListProcessor(BlockProcessor): state = 'looselist' terms = sibling.text.split('\n') parent.remove(sibling) - # Aquire new sibling + # Acquire new sibling sibling = self.lastChild(parent) else: state = 'list' diff --git a/markdown/extensions/footnotes.py b/markdown/extensions/footnotes.py index 072c5dd..de3fc17 100644 --- a/markdown/extensions/footnotes.py +++ b/markdown/extensions/footnotes.py @@ -339,7 +339,7 @@ class FootnotePattern(Pattern): class FootnotePostTreeprocessor(Treeprocessor): - """ Ammend footnote div with duplicates. """ + """ Amend footnote div with duplicates. """ def __init__(self, footnotes): self.footnotes = footnotes diff --git a/markdown/extensions/smart_strong.py b/markdown/extensions/smart_strong.py index eeded31..9349f41 100644 --- a/markdown/extensions/smart_strong.py +++ b/markdown/extensions/smart_strong.py @@ -2,7 +2,7 @@ Smart_Strong Extension for Python-Markdown ========================================== -This extention adds smarter handling of double underscores within words. +This extension adds smarter handling of double underscores within words. See <https://Python-Markdown.github.io/extensions/smart_strong> for documentation. |