MCPcopy Index your code
hub / github.com/baidu/amis / unmark

Function unmark

scripts/bot/split_markdown.py:27–29  ·  view source on GitHub ↗

去掉文本样式,参考 https://stackoverflow.com/questions/761824/python-how-to-convert-markdown-formatted-text-to-text

(text)

Source from the content-addressed store, hash-verified

25
26
27def unmark(text):
28 """去掉文本样式,参考 https://stackoverflow.com/questions/761824/python-how-to-convert-markdown-formatted-text-to-text"""
29 return __md.convert(text)
30
31
32class ContentType(Enum):

Callers 1

get_text_blocksMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected