diff options
Diffstat (limited to 'markdown/extensions/smart_strong.py')
-rw-r--r-- | markdown/extensions/smart_strong.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/markdown/extensions/smart_strong.py b/markdown/extensions/smart_strong.py index 4f112d6..3ed3560 100644 --- a/markdown/extensions/smart_strong.py +++ b/markdown/extensions/smart_strong.py @@ -7,15 +7,15 @@ This extention adds smarter handling of double underscores within words. Simple Usage: >>> import markdown - >>> markdown.markdown('Text with double__underscore__words.', + >>> print markdown.markdown('Text with double__underscore__words.', ... extensions=['smart_strong']) - u'<p>Text with double__underscore__words.</p>' - >>> markdown.markdown('__Strong__ still works.', + <p>Text with double__underscore__words.</p> + >>> print markdown.markdown('__Strong__ still works.', ... extensions=['smart_strong']) - u'<p><strong>Strong</strong> still works.</p>' - >>> markdown.markdown('__this__works__too__.', + <p><strong>Strong</strong> still works.</p> + >>> print markdown.markdown('__this__works__too__.', ... extensions=['smart_strong']) - u'<p><strong>this__works__too</strong>.</p>' + <p><strong>this__works__too</strong>.</p> Copyright 2011 [Waylan Limberg](http://achinghead.com) |