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