Skip to main content

Extension for Python-Markdown to underline text using ++text++ syntax

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown_underline-0.1.3.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markdown_underline-0.1.3-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file markdown_underline-0.1.3.tar.gz.

File metadata

  • Download URL: markdown_underline-0.1.3.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for markdown_underline-0.1.3.tar.gz
Algorithm Hash digest
SHA256 405068bbb3b12d27112cfb55f6122146e6afe86c62ec6068d71d1944e40b6577
MD5 35a7982555508cc7f04d1658c86d584f
BLAKE2b-256 888e10c645327d1d1843b6b07a0efe616479f2f6f59db8eeb0c6b4cb929c0797

See more details on using hashes here.

File details

Details for the file markdown_underline-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for markdown_underline-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 47d03ecb3c96f9fe70126a00911aeaba613a0b9301fadfc7f6d9342d4658702d
MD5 2c616a25306ee4712f01202942bf7857
BLAKE2b-256 c0339cf7a393381bb998dd3647ccaadcc2adb43374874486866864d8cbd20157

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page