Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 854 Bytes

File metadata and controls

43 lines (26 loc) · 854 Bytes

License: GPL v3

Markdown Extension for Underline

This is an extension for Python-Markdown to support underlined text using ++ markers.

This is ++underlined Text++ 

will be rendered to:

<p>This is <u>underlined Text</u></p>

Installation

The markdown-underline package can be installed via:

pip install markdown-underline

Usage

The following python code shows how to use the underline extension:

import markdown

text = "This is ++underlined Text++"

html = markdown.markdown(text, extensions=['underline'])
print(html)

License

This project is licensed under the terms of the GNU General Public License v3.0.
See the LICENSE file for details.