text_splitter = CodeSplitter( language="html", chunk_lines=120, chunk_lines_overlap=10, max_chars=1000, ) html_documents = [Document(text=html, metadata={url:url})] node_parser = SimpleNodeParser.from_defaults(text_splitter=text_splitter)