aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-10-19 14:55:21 -0400
committerWaylan Limberg <waylan@gmail.com>2008-10-19 14:55:21 -0400
commitfe1acf226be260ff8320a08082ffbc695b2d386f (patch)
tree4916e5747f349b79f4170c860591ecd6bde22f88 /docs
parente4396d657dd69364ad13c96baed36fa051fd366e (diff)
downloadmarkdown-fe1acf226be260ff8320a08082ffbc695b2d386f.tar.gz
markdown-fe1acf226be260ff8320a08082ffbc695b2d386f.tar.bz2
markdown-fe1acf226be260ff8320a08082ffbc695b2d386f.zip
Fixed Ticket 19. Corrected error regarding encoding in docs. Thanks gjhiggins for report.
Diffstat (limited to 'docs')
-rw-r--r--docs/using_as_module.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/using_as_module.txt b/docs/using_as_module.txt
index 10c276c..11bad24 100644
--- a/docs/using_as_module.txt
+++ b/docs/using_as_module.txt
@@ -40,7 +40,6 @@ class yourself and then use ``convert()`` to generate HTML:
extension_configs= {'footnotes' :
('PLACE_MARKER','~~~~~~~~')}
encoding='utf8',
- safe_mode = True)
return md.convert(some_text)
You should also use this method if you want to process multiple strings:
@@ -74,8 +73,8 @@ wraps the above method.
In either case, if the ``output`` keyword is passed a file name (i.e.:
``output="out.html"``), it will try to write to a file by that name. If
``output`` is passed a file-like-object (i.e. ``output=StringIO.StringIO()``),
-it will attempt to write out to that object. Finally, is ``output`` is
-set to ``None``, is will write to ``stdout``.
+it will attempt to write out to that object. Finally, if ``output`` is
+set to ``None``, it will write to ``stdout``.
Using Extensions
----------------