MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / getLine

Function getLine

markdown_it/rules_block/table.py:20–25  ·  view source on GitHub ↗
(state: StateBlock, line: int)

Source from the content-addressed store, hash-verified

18
19
20def getLine(state: StateBlock, line: int) -> str:
21 pos = state.bMarks[line] + state.tShift[line]
22 maximum = state.eMarks[line]
23
24 # return state.src.substr(pos, max - pos)
25 return state.src[pos:maximum]
26
27
28def escapedSplit(string: str) -> list[str]:

Callers 1

tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…