init
This commit is contained in:
parent
c86c37fedf
commit
f5602fe508
2 changed files with 69 additions and 1 deletions
16
README.md
16
README.md
|
|
@ -1,2 +1,16 @@
|
|||
# underlined
|
||||
Simple Mistune plug-in that turns `_` tags into `<ul>` instead of `<em>`
|
||||
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)
|
||||
```
|
||||
|
||||
> `this <ul>text</ul> is underlined`
|
||||
Loading…
Add table
Add a link
Reference in a new issue