aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/extensions/smart_strong.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown/extensions/smart_strong.py')
-rw-r--r--markdown/extensions/smart_strong.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/markdown/extensions/smart_strong.py b/markdown/extensions/smart_strong.py
index 4818cf9..c7ac9f1 100644
--- a/markdown/extensions/smart_strong.py
+++ b/markdown/extensions/smart_strong.py
@@ -7,14 +7,14 @@ This extention adds smarter handling of double underscores within words.
Simple Usage:
>>> import markdown
- >>> print markdown.markdown('Text with double__underscore__words.',
- ... extensions=['smart_strong'])
+ >>> print(markdown.markdown('Text with double__underscore__words.',
+ ... extensions=['smart_strong']))
<p>Text with double__underscore__words.</p>
- >>> print markdown.markdown('__Strong__ still works.',
- ... extensions=['smart_strong'])
+ >>> print(markdown.markdown('__Strong__ still works.',
+ ... extensions=['smart_strong']))
<p><strong>Strong</strong> still works.</p>
- >>> print markdown.markdown('__this__works__too__.',
- ... extensions=['smart_strong'])
+ >>> print(markdown.markdown('__this__works__too__.',
+ ... extensions=['smart_strong']))
<p><strong>this__works__too</strong>.</p>
Copyright 2011