implemented header, display and custom_spans, added label_container for _to_container

This commit is contained in:
vicky 2022-06-02 18:16:37 +02:00
parent 0186be993f
commit 51b8167dec
1 changed files with 4 additions and 8 deletions

View File

@ -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()