(match: Match)
| 112 | if chapter.depth > 0: |
| 113 | |
| 114 | def adjust_title_depth(match: Match) -> str: |
| 115 | return ("#" * chapter.depth) + match.group(0) |
| 116 | |
| 117 | contents = re.sub(r"#+ ", adjust_title_depth, contents) |
| 118 |
nothing calls this directly
no outgoing calls
no test coverage detected