Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# encoding: utf-8 

2from . import * 

3 

4def emphasizeText( 

5 style="em", 

6 text=""): 

7 """ 

8 *Get HTML's default emphasis tags with lightweight styles.* 

9 

10 **Key Arguments** 

11 

12 - ``style`` -- the emphasis tag [ "small" | "strong" | "em" ] 

13 - ``text`` -- the text to emphasise 

14  

15 

16 **Return** 

17 

18 - ``emphasizeText`` -- the emphasized text 

19  

20 """ 

21 emphasizeText = """ 

22 <%(style)s> 

23 %(text)s 

24 </%(style)s>""" % locals() 

25 

26 return emphasizeText