更新 CrossDown/Core.py

This commit is contained in:
跨越晨昏 2024-10-19 14:46:04 +08:00
parent 2a07853466
commit 54f4f23807

View File

@ -466,7 +466,7 @@ class Code(Extension):
md.treeprocessors.register(CodeLine(variable=self.variable), 'code_line', 0) # 渲染单行代码块
def main(text: str, variable: Variable = None) -> Tuple[str, Dict[str, Variable]]:
def main(text: str, variable: Variable = None) -> Tuple[str, Variable]:
"""
主函数
:param text: 输入文本