2023-05-19 09:56:00 +01:00
|
|
|
# underlined
|
2023-05-19 12:07:57 +03:00
|
|
|
Simple Mistune plug-in that turns `_` Markdown tags into `<ul>` instead of `<em>` HTML tags
|
|
|
|
|
|
|
|
|
|
## Use
|
|
|
|
|
|
|
|
|
|
```Python
|
|
|
|
|
from mistune import Markdown
|
|
|
|
|
from underlined import underlined
|
|
|
|
|
|
|
|
|
|
md = 'this _text_ is underlined'
|
|
|
|
|
parser = Markdown()
|
|
|
|
|
underlined(parser)
|
|
|
|
|
html = parser(md)
|
|
|
|
|
```
|
|
|
|
|
|
2023-05-19 12:08:53 +03:00
|
|
|
> this <ul>text</ul> is underlined
|