(text: str)
| 49 | |
| 50 | |
| 51 | def _text_to_lines(text: str) -> list[str]: |
| 52 | return [line[1:].lstrip() if line.strip().startswith("#") else line for line in _LINE_BREAKS.split(text)] |
| 53 | |
| 54 | |
| 55 | def normalize(position: Any, text: Any, document: bool = False) -> Any: |