aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-08-28 09:16:18 -0700
committerWaylan Limberg <waylan@gmail.com>2012-08-28 09:16:18 -0700
commit7d8ced4cc8d43a45ea9fed8eebfcbaeb5619597a (patch)
treeef3a933147039d7fd2b886af6263def67fcb5327
parentcb98f6a5f93f95e91ecee7c6abf2852084a8557f (diff)
parent58b77ab4ae1239da08d43cb8bc316f6733512fea (diff)
downloadmarkdown-7d8ced4cc8d43a45ea9fed8eebfcbaeb5619597a.tar.gz
markdown-7d8ced4cc8d43a45ea9fed8eebfcbaeb5619597a.tar.bz2
markdown-7d8ced4cc8d43a45ea9fed8eebfcbaeb5619597a.zip
Merge pull request #136 from Grahack/typos
Misc typos.
-rw-r--r--docs/extensions/api.txt4
-rw-r--r--docs/reference.txt4
-rw-r--r--markdown/__init__.py2
-rw-r--r--markdown/inlinepatterns.py2
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/extensions/api.txt b/docs/extensions/api.txt
index 615c10c..69fb68e 100644
--- a/docs/extensions/api.txt
+++ b/docs/extensions/api.txt
@@ -103,7 +103,7 @@ that example pattern is not very DRY. A pattern for `**strong**` text would
be almost identical, with the exception that it would create a 'strong' element.
Therefore, Markdown provides a number of generic pattern classes that can
provide some common functionality. For example, both emphasis and strong are
-implemented with separate instances of the ``SimpleTagPettern`` listed below.
+implemented with separate instances of the ``SimpleTagPattern`` listed below.
Feel free to use or extend any of the Pattern classes found at `markdown.inlinepatterns`.
**Generic Pattern Classes**
@@ -358,7 +358,7 @@ Integrating Your Code Into Markdown {: #integrating_into_markdown }
Once you have the various pieces of your extension built, you need to tell
Markdown about them and ensure that they are run in the proper sequence.
-Markdown accepts a ``Extension`` instance for each extension. Therefore, you
+Markdown accepts an ``Extension`` instance for each extension. Therefore, you
will need to define a class that extends ``markdown.extensions.Extension`` and
over-rides the ``extendMarkdown`` method. Within this class you will manage
configuration options for your extension and attach the various processors and
diff --git a/docs/reference.txt b/docs/reference.txt
index c438dea..bd837ff 100644
--- a/docs/reference.txt
+++ b/docs/reference.txt
@@ -61,7 +61,7 @@ The following options are available on the `markdown.markdown` function:
the [extension documentation](extensions/index.html) for a list of
available extensions.
- The list of extensions may contain instances of extensions or stings of
+ The list of extensions may contain instances of extensions or strings of
extension names. If an extension name is provided as a string, the
extension must be importable as a python module either within the
`markdown.extensions` package or on your PYTHONPATH with a name starting
@@ -234,7 +234,7 @@ string must be passed to one of two instance methods:
md.reset()
html2 = md.convert(text2)
- You can also change calls to `reset` togeather:
+ You can also change calls to `reset` together:
html3 = md.reset().convert(text3)
diff --git a/markdown/__init__.py b/markdown/__init__.py
index d90d6c0..81404e0 100644
--- a/markdown/__init__.py
+++ b/markdown/__init__.py
@@ -107,7 +107,7 @@ class Markdown:
"""
- # For backward compatability, loop through old positional args
+ # For backward compatibility, loop through old positional args
pos = ['extensions', 'extension_configs', 'safe_mode', 'output_format']
c = 0
for arg in args:
diff --git a/markdown/inlinepatterns.py b/markdown/inlinepatterns.py
index 6cb4bdc..d3ef4e0 100644
--- a/markdown/inlinepatterns.py
+++ b/markdown/inlinepatterns.py
@@ -235,7 +235,7 @@ class SimpleTagPattern(Pattern):
class SubstituteTagPattern(SimpleTagPattern):
- """ Return a eLement of type `tag` with no children. """
+ """ Return an element of type `tag` with no children. """
def handleMatch (self, m):
return util.etree.Element(self.tag)