(state: StateBlock, idx: int)
| 86 | |
| 87 | |
| 88 | def markTightParagraphs(state: StateBlock, idx: int) -> None: |
| 89 | level = state.level + 2 |
| 90 | |
| 91 | i = idx + 2 |
| 92 | length = len(state.tokens) - 2 |
| 93 | while i < length: |
| 94 | if state.tokens[i].level == level and state.tokens[i].type == "paragraph_open": |
| 95 | state.tokens[i + 2].hidden = True |
| 96 | state.tokens[i].hidden = True |
| 97 | i += 2 |
| 98 | i += 1 |
| 99 | |
| 100 | |
| 101 | def list_block(state: StateBlock, startLine: int, endLine: int, silent: bool) -> bool: |
no outgoing calls
no test coverage detected
searching dependent graphs…