mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
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: <https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/code_splitter#markdown> After fix: <img width="480" alt="image" src="https://github.com/hwchase17/langchain/assets/3115235/d9921d59-64e6-4a34-9c62-79743667f528"> ### Who can review PTAL @dev2049 Co-authored-by: Yaohui Wang <wangyaohui.01@bytedance.com>
This commit is contained in:
parent
0d92a7f357
commit
d85c33a5c3
@ -112,7 +112,7 @@ js_docs
|
|||||||
Here's an example using the Markdown text splitter.
|
Here's an example using the Markdown text splitter.
|
||||||
|
|
||||||
|
|
||||||
```python
|
````python
|
||||||
markdown_text = """
|
markdown_text = """
|
||||||
# 🦜️🔗 LangChain
|
# 🦜️🔗 LangChain
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ pip install langchain
|
|||||||
|
|
||||||
As an open source project in a rapidly developing field, we are extremely open to contributions.
|
As an open source project in a rapidly developing field, we are extremely open to contributions.
|
||||||
"""
|
"""
|
||||||
```
|
````
|
||||||
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
Loading…
Reference in New Issue
Block a user