def emphasis_sub(match):
level = len(match.group(<NUM_LIT:1>))<EOL>content = match.group(<NUM_LIT:2>)<EOL>if level == <NUM_LIT:3>:<EOL><INDENT>return '<STR_LIT>'.format(content)<EOL><DEDENT>elif level == <NUM_LIT:2>:<EOL><INDENT>return '<STR_LIT>'.format(content)<EOL><DEDENT>elif level == <NUM_LIT:1>:<EOL><INDENT>return '<STR_LIT>'.format(content)<EOL><DEDENT>
Substitutes <strong>, <em>, and <strong><em> tags.