Skip to main content

A markdown extension that enables you to create <mark> tag by using ???some text???

Project description


Adds the possibility to use "??? something ???" or "___ something ___" to create a span that looks like <mark>something</mark>

Install through pip:

$ pip install MarkdownHighlight

To enable the MarkdownHighlight package and use it in your markdown generation just add it like so:

import markdown
from MarkdownHighlight.highlight import HighlightExtension

result = markdown.markdown(textToRender, output_format="html5", extensions=[HighlightExtension,]) )

Project details

Download files

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

Files for MarkdownHighlight, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size MarkdownHighlight-0.1.3.tar.gz (1.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page