Fix package name in README and doc string example
This commit is contained in:
parent
1ee78f5f62
commit
91ee1edf9e
@ -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
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user