From 24bf24270ddb5a646f2add920ea903f7d5a4e67e Mon Sep 17 00:00:00 2001 From: ccurme Date: Tue, 17 Dec 2024 12:56:38 -0500 Subject: [PATCH] docs: reference ExperimentalMarkdownTextSplitter (#28768) Continuing https://github.com/langchain-ai/langchain/pull/27832 --------- Co-authored-by: promptless[bot] <179508745+promptless[bot]@users.noreply.github.com> Co-authored-by: Frances Liu --- .../how_to/markdown_header_metadata_splitter.ipynb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/docs/how_to/markdown_header_metadata_splitter.ipynb b/docs/docs/how_to/markdown_header_metadata_splitter.ipynb index ad33be83991cf..a5257dc5e0e9e 100644 --- a/docs/docs/how_to/markdown_header_metadata_splitter.ipynb +++ b/docs/docs/how_to/markdown_header_metadata_splitter.ipynb @@ -162,6 +162,18 @@ "md_header_splits" ] }, + { + "cell_type": "markdown", + "id": "fb3f834a", + "metadata": {}, + "source": [ + ":::note\n", + "\n", + "The default `MarkdownHeaderTextSplitter` strips white spaces and new lines. To preserve the original formatting of your Markdown documents, check out [ExperimentalMarkdownSyntaxTextSplitter](https://python.langchain.com/api_reference/text_splitters/markdown/langchain_text_splitters.markdown.ExperimentalMarkdownSyntaxTextSplitter.html).\n", + "\n", + ":::" + ] + }, { "cell_type": "markdown", "id": "aa67e0cc-d721-4536-9c7a-9fa3a7a69cbe",