implemented header, display and custom_spans, added label_container for _to_container
This commit is contained in:
parent
0186be993f
commit
51b8167dec
|
|
@ -245,18 +245,14 @@ if __name__ == '__main__': # pragma: no cover
|
|||
from bootstraparse.modules import parser
|
||||
|
||||
io_string = StringIO(
|
||||
"""<<section
|
||||
<<div
|
||||
<<article
|
||||
<<aside
|
||||
aside>>
|
||||
div>>
|
||||
article>>
|
||||
section>>{{zpb}}"""
|
||||
"""- list
|
||||
- list
|
||||
- list"""
|
||||
)
|
||||
test = parser.parse_line(io_string)
|
||||
exm = ExportManager(None, None)
|
||||
cxm = context_mngr.ContextManager(test)
|
||||
cxc = ContextConverter(cxm(), exm)
|
||||
rich.print(cxm.matched_elements)
|
||||
cxc.process_pile()
|
||||
cxc.print_all()
|
||||
|
|
|
|||
Loading…
Reference in New Issue