MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / _split_row

Method _split_row

markdown/extensions/tables.py:150–156  ·  view source on GitHub ↗

split a row of text into list of cells.

(self, row: str)

Source from the content-addressed store, hash-verified

148 c.set('style', f'text-align: {a};')
149
150 def _split_row(self, row: str) -> list[str]:
151 """ split a row of text into list of cells. """
152 if self.border:
153 if row.startswith('|'):
154 row = row[1:]
155 row = self.RE_END_BORDER.sub('', row)
156 return self._split(row)
157
158 def _split(self, row: str) -> list[str]:
159 """ split a row of text with some code into a list of cells. """

Callers 2

testMethod · 0.95
_build_rowMethod · 0.95

Calls 1

_splitMethod · 0.95

Tested by

no test coverage detected