Escapes markdown-sensitive characters within other markdown constructs.
(text: str)
| 197 | |
| 198 | |
| 199 | def escape_md(text: str) -> str: |
| 200 | """ |
| 201 | Escapes markdown-sensitive characters within other markdown |
| 202 | constructs. |
| 203 | """ |
| 204 | return config.RE_MD_CHARS_MATCHER.sub(r"\\\1", text) |
| 205 | |
| 206 | |
| 207 | def escape_md_section( |
no outgoing calls
no test coverage detected
searching dependent graphs…