Skip to main content

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

Project description

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)

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.2.tar.gz (14.5 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.2-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: markdown_underline-0.1.2.tar.gz
  • Upload date:
  • Size: 14.5 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.2.tar.gz
Algorithm Hash digest
SHA256 eefd19acc8ca3190ef6ffc8a5b95a4450ab0807e9f5c2518b7faefcc4cdbdc61
MD5 17180e7a2935e3475f94f19124eeb996
BLAKE2b-256 768d185945df4fe9cd1fe1123a66e7f6da78db2f54d1ecf601675329ee99061a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for markdown_underline-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5405b83da45c572d431b4e1387da6e95cc633feda082458519cffd239bfcd9e8
MD5 950ace899315f60e26ecea750b8670fc
BLAKE2b-256 1678039ec56618723e6c22560d3830535368ba9f23623ec33c92b3e1244fec38

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