Example #1
0
def markdown(value):
    """Convert plain text to HTML."""
    extras = [
        'fenced-code-blocks', 'wiki-tables', 'attr_list', 'fenced-code',
        'def-list', 'tables', 'extras', 'meta', 'nl2br', 'smart_lists', 'toc',
        'markdown_checklist.extension'
    ]
    return Markup(md2(value, extras=extras))
Example #2
0
def markdown(value):
    """Convert plain text to HTML."""
    extras = ['fenced-code-blocks', 'wiki-tables','attr_list',
              'fenced-code','def-list','tables','extras','meta',
              'nl2br','smart_lists','toc','markdown_checklist.extension']
    return Markup(md2(value, extras=extras))
Example #3
0
def markdown(value):
    """Convert plain text to HTML."""
    extras = ['fenced-code-blocks', 'wiki-tables']
    return Markup(md2(value, extras=extras))
Example #4
0
def markdown(value):
    """Convert plain text to HTML."""
    extras = ['fenced-code-blocks', 'wiki-tables']
    return Markup(md2(value, extras=extras))