A text splitter specifically designed for Markdown documents, attempting to preserve Markdown structure within chunks. This is a wrapper around Langchain's MarkdownTextSplitter.
MarkdownTextSplitter
Creates an instance of MarkdownTextSplitter.
Parameters for the text splitter.
The maximum size of each text chunk.
The amount of overlap between consecutive text chunks.
Splits the given Markdown text into chunks.
The input Markdown text to be split.
A promise that resolves to an array of string chunks.
A text splitter specifically designed for Markdown documents, attempting to preserve Markdown structure within chunks. This is a wrapper around Langchain's
MarkdownTextSplitter
.