Skip to main content

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

Project description

markdown.highlight
==================

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.

Source Distribution

MarkdownHighlight-0.1.3.tar.gz (1.3 kB view hashes)

Uploaded Source

Supported by

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