Fix package name in README and doc string example

This commit is contained in:
Bernhard Fisseni 2014-07-20 11:27:20 +02:00
parent 1ee78f5f62
commit 91ee1edf9e
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ Dependencies: [PyYAML](http://pyyaml.org/)
... ...
... The body. This is paragraph one. ... The body. This is paragraph one.
... ''' ... '''
>>> md = markdown.Markdown(['meta']) >>> md = markdown.Markdown(['meta_yaml'])
>>> print(md.convert(text)) >>> print(md.convert(text))
<p>The body. This is paragraph one.</p> <p>The body. This is paragraph one.</p>
>>> print(md.Meta) # doctest: +SKIP >>> print(md.Meta) # doctest: +SKIP

View File

@ -21,7 +21,7 @@ Basic Usage:
... ...
... The body. This is paragraph one. ... The body. This is paragraph one.
... ''' ... '''
>>> md = markdown.Markdown(['meta']) >>> md = markdown.Markdown(['meta_yaml'])
>>> print(md.convert(text)) >>> print(md.convert(text))
<p>The body. This is paragraph one.</p> <p>The body. This is paragraph one.</p>
>>> print(md.Meta) # doctest: +SKIP >>> print(md.Meta) # doctest: +SKIP
@ -30,7 +30,7 @@ Basic Usage:
Make sure text without Meta Data still works (markdown < 1.6b returns a <p>). Make sure text without Meta Data still works (markdown < 1.6b returns a <p>).
>>> text = ' Some Code - not extra lines of meta data.' >>> text = ' Some Code - not extra lines of meta data.'
>>> md = markdown.Markdown(['meta']) >>> md = markdown.Markdown(['meta_yaml'])
>>> print(md.convert(text)) >>> print(md.convert(text))
<pre><code>Some Code - not extra lines of meta data. <pre><code>Some Code - not extra lines of meta data.
</code></pre> </code></pre>