v0.6.0 BigUpdate
This commit is contained in:
@@ -5,11 +5,12 @@ from marko.ext.gfm.elements import TableCell as GfmTableCell
|
||||
|
||||
|
||||
MERGE_V_MARKERS = {"^", "^^"}
|
||||
MERGE_H_MARKERS = {">", ">>"}
|
||||
# `<` is the same colspan-continue as `>`, and is allowed in the header row.
|
||||
MERGE_H_MARKERS = {">", ">>", "<", "<<"}
|
||||
|
||||
|
||||
class TableCell(GfmTableCell):
|
||||
"""GFM table cell with rowspan/colspan continue markers (^ / >)."""
|
||||
"""GFM table cell with rowspan/colspan continue markers (^ / > / <)."""
|
||||
|
||||
def __init__(self, text: str, position: int | None = None) -> None:
|
||||
stripped = text.strip()
|
||||
|
||||
Reference in New Issue
Block a user