Skip to content

Adds the possibility to use "??? something ???" to create a span that looks like <span class="highlight">something</span>

License

Notifications You must be signed in to change notification settings

ribalba/markdown.highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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,]) )
```

About

Adds the possibility to use "??? something ???" to create a span that looks like <span class="highlight">something</span>

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages