aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@dev.(none)>2009-07-31 01:10:56 -0400
committerWaylan Limberg <waylan@dev.(none)>2009-07-31 01:10:56 -0400
commitb4ce140d4e0e9839eb8e95f26165b8584441a5f2 (patch)
tree20c3eb1acbbe04902cef33da9b5fee0727c4b6da
parent80beed057ef9abeb9eecfcfc932ebadeaf637e4a (diff)
downloadmarkdown-b4ce140d4e0e9839eb8e95f26165b8584441a5f2.tar.gz
markdown-b4ce140d4e0e9839eb8e95f26165b8584441a5f2.tar.bz2
markdown-b4ce140d4e0e9839eb8e95f26165b8584441a5f2.zip
Fixed a couple typos in previous commit.
-rw-r--r--docs/writing_extensions.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/writing_extensions.txt b/docs/writing_extensions.txt
index 65ff5b6..3aad74a 100644
--- a/docs/writing_extensions.txt
+++ b/docs/writing_extensions.txt
@@ -38,7 +38,7 @@ Preprocessors munge the source text before it is passed into the Markdown
core. This is an excellent place to clean up bad syntax, extract things the
parser may otherwise choke on and perhaps even store it for later retrieval.
-Preprocessors should inherit from ``markdown..preprocessors.Preprocessor`` and
+Preprocessors should inherit from ``markdown.preprocessors.Preprocessor`` and
implement a ``run`` method with one argument ``lines``. The ``run`` method of
each Preprocessor will be passed the entire source text as a list of Unicode
strings. Each string will contain one line of text. The ``run`` method should
@@ -155,7 +155,7 @@ Postprocessors manipulate the document after the ElementTree has been
serialized into a string. Postprocessors should be used to work with the
text just before output.
-A Postprocessor should inherit from ``markdown.porstprocessors.Postprocessor``
+A Postprocessor should inherit from ``markdown.postprocessors.Postprocessor``
and over-ride the ``run`` method which takes one argument ``text`` and returns
a Unicode string.