You can use MarkDown Syntax here
Example Input
# First-level heading Some *emphasized* and **strong** text #### Fourth-level heading
Example Rendering
${Markup(g.markdown.convert('''
# First-level heading
Some *emphasized* and **strong** text
#### Fourth-level heading
'''))}
More Examples