更新 CrossDown/Core.py
This commit is contained in:
parent
fd65301433
commit
30ac4a34d1
@ -119,7 +119,7 @@ class Basic(Extension):
|
||||
r'\[(.*?)]\^\((.*?)\)', outer_tag='ruby', inner_tag='rt'), 'up', 0
|
||||
) # [在文本的正上方添加一行小文本]^(主要用于标拼音)
|
||||
md.inlinePatterns.register(ID(
|
||||
r'\[(.*?)]-\((.*?)\)', tag='ruby', property='rt'), 'hide', 0
|
||||
r'\[(.*?)]-\((.*?)\)', tag='span', property='title'), 'hide', 0
|
||||
) # [在指定的文本里面隐藏一段文本]-(只有鼠标放在上面才会显示隐藏文本)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user