From d85c33a5c32bdfa302d2d1ef8421e1f934749e6c Mon Sep 17 00:00:00 2001 From: Yaohui Wang Date: Thu, 13 Jul 2023 04:29:25 +0800 Subject: [PATCH] Fix the markdown rendering issue with a code block inside a markdown code block (#6625) ### Description - Fix the markdown rendering issue with a code block inside a markdown, using a different number of backticks for the delimiters. Current doc site: After fix: image ### Who can review PTAL @dev2049 Co-authored-by: Yaohui Wang --- .../document_transformers/text_splitters/code_splitter.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/snippets/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx b/docs/snippets/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx index e8e40a2734..5b22670325 100644 --- a/docs/snippets/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx +++ b/docs/snippets/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx @@ -112,7 +112,7 @@ js_docs Here's an example using the Markdown text splitter. -```python +````python markdown_text = """ # 🦜️🔗 LangChain @@ -127,7 +127,7 @@ pip install langchain As an open source project in a rapidly developing field, we are extremely open to contributions. """ -``` +```` ```python