feature: add underline to renderer
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import re
|
||||
|
||||
from mistletoe.span_token import SpanToken
|
||||
|
||||
|
||||
class Underline(SpanToken):
|
||||
"""
|
||||
Underline span token (<u>Untersrich</u>).
|
||||
Identifies underlined text.
|
||||
"""
|
||||
pattern = re.compile(r'<u>(.+)</u>')
|
||||
Reference in New Issue
Block a user